@teobot 2)
register int r0 asm ("r0") __attribute__((unused));
register int r1 asm ("r1") __attribute__((unused));
register int r2 asm ("r2") __attribute__((unused));
r2 = (int)bitbuffer_decode;
r0 = (int)currentWaveBuffer;
r1 = (int)ambebuffer_decode;
asm volatile ("PUSH {R4-R11}\n"
"SUB SP, SP, #0x10\n"
"STR R1, [SP, #0x08]\n"
"LDR R1, =1\n"
"STR R1, [SP, #0x04]\n"
"LDR R1, =0\n"
"STR R1, [SP, #0x00]\n"
"LDR R3, =0\n"
"LDR R1, =80\n"
"BL " QU(AMBE_DECODE)
"ADD SP, SP, #0x10\n"
"POP {R4-R11}");

@teobot 1)

asm volatile (
"MOV R2, %0\n"
"MOV R0, %1\n"
"MOV R1, %2\n"
"MOV R12, %3\n"
"PUSH {R4-R11}\n"
"SUB SP, SP, #0x10\n"
"STR R1, [SP, #0x08]\n"
"LDR R1, =0\n"
"STR R1, [SP, #0x04]\n"
"LDR R1, =0\n"
"STR R1, [SP, #0x00]\n"
"LDR R3, =0\n"
"LDR R1, =80\n"
"BLX R12\n"
"ADD SP, SP, #0x10\n"
"POP {R4-R11}"
:
: "r"(bitbuffer_decode),
"r"(currentWaveBuffer),
"r"(ambebuffer_decode),
"r"(AMBE_DECODE)
: "memory"
);

I just found out about floor796 and i am in awe, like, faith in the web restored kind of awe. What a tribute to pop culture

Can you find them all?

Here is Princess Mononoke
https://floor796.com/#t2l2,435,477

#floor796 #0x00 #amazingweb #pixelart #animation

Floor796

A huge animation scene with many references to memes, games, films, series, anime, music groups

Floor796

how is ghidra this bad at 6502?

code:
LDA MapStructPointer
STA PTR_000e
LDA MapStructPointer+1
STA PTR_000e+1
LDY #0x00
LDA (PTR_000e),Y
STA SomewhereElse
INY
LDA (PTR_000e),Y
STA SomewhereElse2
INY
<repeat for a while, preloading an area of RAM>

Ghidra: "lol Y clearly never changes, i can't know where this reference goes"
even if i manually make it assume what Y clearly is, it can't resolve the indirect reference. why the fuck is ghidra like this