; ; CustomSFXWidget::onPlayback from 0x6a6494 to 0x6a6548 (180 bytes) ; ; 1 xrefs: ; > CustomSFXWidget::downloadSFXFinished @ 0x6a656c ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; 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:56:30 +0000 ; LDR R3, =(__stack_chk_guard_ptr - 0x6A649E) ; +0x0, 0x6a6494 PUSH.W {R4-R8,LR} ; +0x2, 0x6a6496 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x6a649a LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x6a649c SUB SP, SP, #0x20 ; +0xa, 0x6a649e MOV R4, R0 ; +0xc, 0x6a64a0 LDR R2, [R3] ; +0xe, 0x6a64a2 MOV R5, R3 ; +0x10, 0x6a64a4 STR R2, [SP,#0x20+var_4] ; +0x12, 0x6a64a6 LDR.W R2, [R0,#0x110] ; +0x14, 0x6a64a8 CMP R2, #0 ; +0x18, 0x6a64ac BEQ loc_6A6536 ; +0x1a, 0x6a64ae BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x1c, 0x6a64b0 BL _ZN15FMODAudioEngine14stopAllEffectsEv; FMODAudioEngine::stopAllEffects(void) ; +0x20, 0x6a64b4 LDR.W R0, [R4,#0x158] ; +0x24, 0x6a64b8 CBZ R0, loc_6A64CA ; +0x28, 0x6a64bc LDR R3, [R0] ; +0x2a, 0x6a64be LDR.W R1, [R4,#0x110] ; +0x2c, 0x6a64c0 LDR R3, [R3,#0xC] ; +0x30, 0x6a64c4 BLX R3 ; +0x32, 0x6a64c6 CBNZ R0, loc_6A6536 ; +0x34, 0x6a64c8 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x36, 0x6a64ca ADD R7, SP, #0x20+var_1C ; +0x3a, 0x6a64ce MOV R8, R0 ; +0x3c, 0x6a64d0 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x3e, 0x6a64d2 LDR.W R3, [R4,#0x110] ; +0x42, 0x6a64d6 LDR R2, [R3,#0x34] ; +0x46, 0x6a64da MOV R1, R0; int ; +0x48, 0x6a64dc MOV R0, R7; this ; +0x4a, 0x6a64de BL _ZN20MusicDownloadManager10pathForSFXEi; MusicDownloadManager::pathForSFX(int) ; +0x4c, 0x6a64e0 LDRB.W R3, [SP,#0x20+var_1C] ; +0x50, 0x6a64e4 LSLS R3, R3, #0x1F ; +0x54, 0x6a64e8 BPL loc_6A6530 ; +0x56, 0x6a64ea LDR R6, [SP,#0x20+var_14] ; +0x58, 0x6a64ec MOV R0, R6; char * ; +0x5a, 0x6a64ee MOVS R3, #0 ; +0x5c, 0x6a64f0 STR R3, [SP,#0x20+var_10] ; +0x5e, 0x6a64f2 ADD R4, SP, #0x20+var_10 ; +0x60, 0x6a64f4 STR R3, [SP,#0x20+var_C] ; +0x62, 0x6a64f6 STR R3, [SP,#0x20+var_8] ; +0x64, 0x6a64f8 BLX strlen ; +0x66, 0x6a64fa MOV R1, R6 ; +0x6a, 0x6a64fe MOV R2, R0 ; +0x6c, 0x6a6500 MOV R0, R4 ; +0x6e, 0x6a6502 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x70, 0x6a6504 MOV R0, R8 ; +0x74, 0x6a6508 MOV R1, R4 ; +0x76, 0x6a650a BL _ZN15FMODAudioEngine15playEffectAsyncENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; FMODAudioEngine::playEffectAsync(std::string) ; +0x78, 0x6a650c MOV R0, R4 ; +0x7c, 0x6a6510 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x7e, 0x6a6512 MOV R0, R7 ; +0x82, 0x6a6516 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x84, 0x6a6518 B loc_6A6536 ; +0x88, 0x6a651c MOV R0, R4 ; +0x8a, 0x6a651e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x8c, 0x6a6520 B loc_6A6526 ; +0x90, 0x6a6524 MOV R0, R7 ; +0x92, 0x6a6526 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x94, 0x6a6528 BL __cxa_end_cleanup ; +0x98, 0x6a652c ADD.W R6, SP, #0x20+var_1B ; +0x9c, 0x6a6530 B loc_6A64EE ; +0xa0, 0x6a6534 LDR R2, [SP,#0x20+var_4] ; +0xa2, 0x6a6536 LDR R3, [R5] ; +0xa4, 0x6a6538 CMP R2, R3 ; +0xa6, 0x6a653a BEQ loc_6A6542 ; +0xa8, 0x6a653c BLX __stack_chk_fail ; +0xaa, 0x6a653e ADD SP, SP, #0x20 ; ' ' ; +0xae, 0x6a6542 POP.W {R4-R8,PC} ; +0xb0, 0x6a6544