; ; GJDifficultySprite::getDifficultyFrame from 0x1403ab000 to 0x1403ab0dc (220 bytes) ; ; 3 xrefs: ; > GJDifficultySprite::create @ 0x1403aaf87 ; > GJDifficultySprite::updateDifficultyFrame @ 0x1403ab0ff ; > @ 0x140923a20 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:31:20 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1403ab000 mov [rsp+arg_10], rsi ; +0x5, 0x1403ab005 mov [rsp+arg_0], rcx ; +0xa, 0x1403ab00a push rdi ; +0xf, 0x1403ab00f sub rsp, 30h ; +0x10, 0x1403ab010 mov esi, r8d ; +0x14, 0x1403ab014 mov edi, edx ; +0x17, 0x1403ab017 mov rbx, rcx ; +0x19, 0x1403ab019 mov [rsp+38h+var_18], 0 ; +0x1c, 0x1403ab01c lea rcx, aDifficulty02d; "difficulty_%02d_" ; +0x24, 0x1403ab024 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2b, 0x1403ab02b mov rcx, rax ; +0x31, 0x1403ab031 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x34, 0x1403ab034 xorps xmm0, xmm0 ; +0x3a, 0x1403ab03a movups xmmword ptr [rbx], xmm0 ; +0x3d, 0x1403ab03d mov qword ptr [rbx+10h], 0 ; +0x40, 0x1403ab040 mov qword ptr [rbx+18h], 0 ; +0x48, 0x1403ab048 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x50, 0x1403ab050 nop word ptr [rax+rax+00000000h] ; +0x57, 0x1403ab057 inc r8 ; +0x60, 0x1403ab060 cmp byte ptr [rax+r8], 0 ; +0x63, 0x1403ab063 jnz short loc_1403AB060 ; +0x68, 0x1403ab068 mov rdx, rax ; +0x6a, 0x1403ab06a mov rcx, rbx ; +0x6d, 0x1403ab06d call sub_14003D230 ; +0x70, 0x1403ab070 mov [rsp+38h+var_18], 1 ; +0x75, 0x1403ab075 cmp esi, 1 ; +0x7d, 0x1403ab07d jnz short loc_1403AB099 ; +0x80, 0x1403ab080 lea eax, [rdi-6] ; +0x82, 0x1403ab082 cmp eax, 4 ; +0x85, 0x1403ab085 ja short loc_1403AB099 ; +0x88, 0x1403ab088 mov r8d, 0Ch ; +0x8a, 0x1403ab08a lea rdx, aBtn2001Png; "btn2_001.png" ; +0x90, 0x1403ab090 jmp short loc_1403AB0A6 ; +0x97, 0x1403ab097 mov r8d, 0Bh; Size ; +0x99, 0x1403ab099 lea rdx, aBtn001Png; "btn_001.png" ; +0x9f, 0x1403ab09f mov rcx, rbx; Src ; +0xa6, 0x1403ab0a6 call sub_140044D80 ; +0xa9, 0x1403ab0a9 cmp edi, 0FFFFFFFFh ; +0xae, 0x1403ab0ae jnz short loc_1403AB0C8 ; +0xb1, 0x1403ab0b1 mov r8d, 1Bh; Size ; +0xb3, 0x1403ab0b3 lea rdx, aDifficultyAuto; "difficulty_auto_btn_001.png" ; +0xb9, 0x1403ab0b9 mov rcx, rbx; void * ; +0xc0, 0x1403ab0c0 call sub_1400405A0 ; +0xc3, 0x1403ab0c3 mov rax, rbx ; +0xc8, 0x1403ab0c8 mov rbx, [rsp+38h+arg_8] ; +0xcb, 0x1403ab0cb mov rsi, [rsp+38h+arg_10] ; +0xd0, 0x1403ab0d0 add rsp, 30h ; +0xd5, 0x1403ab0d5 pop rdi ; +0xd9, 0x1403ab0d9 retn ; +0xda, 0x1403ab0da db 0CCh ; +0xdb, 0x1403ab0db