; ; AnimatedShopKeeper::playReactAnimation from 0x4e2d5c to 0x4e2e30 (212 bytes) ; ; 1 xrefs: ; > GJShopLayer::ccTouchBegan @ 0x4e2f50 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; LDR R3, =(__stack_chk_guard_ptr - 0x4E2D66) ; +0x0, 0x4e2d5c PUSH.W {R4-R9,LR} ; +0x2, 0x4e2d5e ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x4e2d62 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x4e2d64 SUB SP, SP, #0x1C ; +0xa, 0x4e2d66 MOV R4, R0 ; +0xc, 0x4e2d68 LDR R2, [R3] ; +0xe, 0x4e2d6a MOV R8, R3 ; +0x10, 0x4e2d6c STR R2, [SP,#0x1C+var_8] ; +0x12, 0x4e2d6e LDRB.W R2, [R0,#0x22D] ; +0x14, 0x4e2d70 CMP R2, #0 ; +0x18, 0x4e2d74 BNE loc_4E2E1C ; +0x1a, 0x4e2d76 LDR.W R5, [R0,#0x234] ; +0x1c, 0x4e2d78 ADD R7, SP, #0x1C+var_14 ; +0x20, 0x4e2d7c ADDS R5, #1 ; +0x22, 0x4e2d7e CMP R5, #3 ; +0x24, 0x4e2d80 IT LE ; +0x26, 0x4e2d82 STRLE.W R5, [R0,#0x234] ; +0x28, 0x4e2d84 ADD R5, SP, #0x1C+var_C ; +0x2c, 0x4e2d88 ITT GT ; +0x2e, 0x4e2d8a MOVGT R3, #1 ; +0x30, 0x4e2d8c STRGT.W R3, [R0,#0x234] ; +0x32, 0x4e2d8e LDR R0, =(aGrunt0IOgg - 0x4E2D9C); "grunt0%i.ogg" ; +0x36, 0x4e2d92 LDR.W R1, [R4,#0x234]; char * ; +0x38, 0x4e2d94 ADD R0, PC; "grunt0%i.ogg" ; +0x3c, 0x4e2d98 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x3e, 0x4e2d9a BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x42, 0x4e2d9e MOV R2, R5 ; +0x46, 0x4e2da2 MOV R1, R0; char * ; +0x48, 0x4e2da4 MOV R0, R7; int ; +0x4a, 0x4e2da6 BL sub_776584 ; +0x4c, 0x4e2da8 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x50, 0x4e2dac ADD R6, SP, #0x1C+var_10 ; +0x54, 0x4e2db0 MOV R9, R0 ; +0x56, 0x4e2db2 MOV R1, R7 ; +0x58, 0x4e2db4 MOV R0, R6 ; +0x5a, 0x4e2db6 BL sub_775C20 ; +0x5c, 0x4e2db8 LDR R3, flt_4E2E30 ; +0x60, 0x4e2dbc MOV R0, R9; int ; +0x62, 0x4e2dbe MOV R1, R6; int ; +0x64, 0x4e2dc0 MOV.W R2, #0x3F800000; int ; +0x66, 0x4e2dc2 STR R3, [SP,#0x1C+var_1C]; float ; +0x6a, 0x4e2dc6 MOVS R3, #0; int ; +0x6c, 0x4e2dc8 BL _ZN15FMODAudioEngine10playEffectESsfff; FMODAudioEngine::playEffect(std::string,float,float,float) ; +0x6e, 0x4e2dca MOV R0, R6 ; +0x72, 0x4e2dce BL sub_774008 ; +0x74, 0x4e2dd0 LDR R1, =(aReact01 - 0x4E2DDE); "react01" ; +0x78, 0x4e2dd4 MOV R0, R5; int ; +0x7a, 0x4e2dd6 MOV R2, R6 ; +0x7c, 0x4e2dd8 ADD R1, PC; "react01" ; +0x7e, 0x4e2dda BL sub_776584 ; +0x80, 0x4e2ddc MOV R0, R4 ; +0x84, 0x4e2de0 MOV R1, R5 ; +0x86, 0x4e2de2 BL _ZN16CCAnimatedSprite18runAnimationForcedESs; CCAnimatedSprite::runAnimationForced(std::string) ; +0x88, 0x4e2de4 MOV R0, R5 ; +0x8c, 0x4e2de8 BL sub_774008 ; +0x8e, 0x4e2dea MOVS R3, #1 ; +0x92, 0x4e2dee STRB.W R3, [R4,#0x22D] ; +0x94, 0x4e2df0 MOV R0, R7 ; +0x98, 0x4e2df4 LDR.W R3, [R4,#0x230] ; +0x9a, 0x4e2df6 ADDS R3, #1 ; +0x9e, 0x4e2dfa STR.W R3, [R4,#0x230] ; +0xa0, 0x4e2dfc BL sub_774008 ; +0xa4, 0x4e2e00 B loc_4E2E1C ; +0xa8, 0x4e2e04 MOV R0, R6 ; +0xaa, 0x4e2e06 B loc_4E2E0C ; +0xac, 0x4e2e08 MOV R0, R5 ; +0xae, 0x4e2e0a BL sub_774008 ; +0xb0, 0x4e2e0c B loc_4E2E12 ; +0xb4, 0x4e2e10 MOV R0, R7 ; +0xb6, 0x4e2e12 BL sub_774008 ; +0xb8, 0x4e2e14 BL __cxa_end_cleanup ; +0xbc, 0x4e2e18 LDR R2, [SP,#0x1C+var_8] ; +0xc0, 0x4e2e1c LDR.W R3, [R8] ; +0xc2, 0x4e2e1e CMP R2, R3 ; +0xc6, 0x4e2e22 BEQ loc_4E2E2A ; +0xc8, 0x4e2e24 BLX __stack_chk_fail ; +0xca, 0x4e2e26 ADD SP, SP, #0x1C ; +0xce, 0x4e2e2a POP.W {R4-R9,PC} ; +0xd0, 0x4e2e2c