; ; ClearPlatformerSavesPopup::updateStats from 0x7618c0 to 0x7619c4 (260 bytes) ; ; 3 xrefs: ; > ClearPlatformerSavesPopup::onIncludeFavoritesToggle @ 0x7619f4 ; > ClearPlatformerSavesPopup::init @ 0x7622f0 ; > ClearPlatformerSavesPopup::FLAlert_Clicked @ 0x762376 ; ; 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:59:04 +0000 ; PUSH.W {R4-R8,LR} ; +0x0, 0x7618c0 SUB SP, SP, #0x20 ; +0x4, 0x7618c4 LDR R5, =(__stack_chk_guard_ptr - 0x7618CE) ; +0x6, 0x7618c6 MOV R6, R0 ; +0x8, 0x7618c8 ADD R5, PC; __stack_chk_guard_ptr ; +0xa, 0x7618ca LDR R5, [R5]; __stack_chk_guard ; +0xc, 0x7618cc LDR R3, [R5] ; +0xe, 0x7618ce STR R3, [SP,#0x20+var_4] ; +0x10, 0x7618d0 MOVS R3, #0 ; +0x12, 0x7618d2 STR R3, [SP,#0x20+var_20] ; +0x14, 0x7618d4 STR R3, [SP,#0x20+var_1C] ; +0x16, 0x7618d6 BL _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x18, 0x7618d8 LDRB.W R1, [R6,#0x20C]; int ; +0x1c, 0x7618dc MOV R2, SP; int * ; +0x20, 0x7618e0 ADD R3, SP, #0x20+var_1C; unsigned int * ; +0x22, 0x7618e2 BL _ZN16GameLevelManager22getPlatformerSaveStatsEiRiRj; GameLevelManager::getPlatformerSaveStats(int,int &,uint &) ; +0x24, 0x7618e4 LDR.W R8, [SP,#0x20+var_20] ; +0x28, 0x7618e8 CMP.W R8, #1 ; +0x2c, 0x7618ec BEQ loc_7618F8 ; +0x30, 0x7618f0 LDR R7, =(a1i2r3e45s789g+0x10 - 0x7618F8); "s789g" ; +0x32, 0x7618f2 ADD R7, PC; "s789g" ; +0x34, 0x7618f4 B loc_7618FC ; +0x36, 0x7618f6 LDR R7, =(unk_B6B226 - 0x7618FE) ; +0x38, 0x7618f8 ADD R7, PC; unk_B6B226 ; +0x3a, 0x7618fa ADD R4, SP, #0x20+var_10 ; +0x3c, 0x7618fc LDR R1, [SP,#0x20+var_1C] ; +0x3e, 0x7618fe MOV R0, R4 ; +0x40, 0x761900 BL sub_761858 ; +0x42, 0x761902 LDRB.W R3, [SP,#0x20+var_10] ; +0x46, 0x761906 LDR R0, =(aISaveSS - 0x76191C); "%i save%s - %s" ; +0x4a, 0x76190a MOV R1, R8; char * ; +0x4c, 0x76190c LSLS R2, R3, #0x1F ; +0x4e, 0x76190e MOV R2, R7 ; +0x50, 0x761910 IT PL ; +0x52, 0x761912 ADDPL.W R3, SP, #0x20+var_F ; +0x54, 0x761914 ADD R0, PC; "%i save%s - %s" ; +0x58, 0x761918 IT MI ; +0x5a, 0x76191a LDRMI R3, [SP,#0x20+var_8] ; +0x5c, 0x76191c BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x5e, 0x76191e BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x62, 0x761922 MOV R7, R0 ; +0x66, 0x761926 MOV R0, R4 ; +0x68, 0x761928 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x6a, 0x76192a LDR.W R0, [R6,#0x214] ; +0x6e, 0x76192e MOV R1, R7 ; +0x72, 0x761932 LDR R3, [R0] ; +0x74, 0x761934 LDR.W R3, [R3,#0x1D0] ; +0x76, 0x761936 BLX R3 ; +0x7a, 0x76193a LDR R1, flt_7619C4; float ; +0x7c, 0x76193c LDR R2, flt_7619C8; float ; +0x7e, 0x76193e LDR.W R0, [R6,#0x214]; this ; +0x80, 0x761940 LDR R3, flt_7619CC; float ; +0x84, 0x761944 BL _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x86, 0x761946 MOVS R3, #0 ; +0x8a, 0x76194a STR R3, [SP,#0x20+var_18] ; +0x8c, 0x76194c STR R3, [SP,#0x20+var_14] ; +0x8e, 0x76194e BL _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x90, 0x761950 MOVS R1, #2; int ; +0x94, 0x761954 ADD R2, SP, #0x20+var_18; int * ; +0x96, 0x761956 ADD R3, SP, #0x20+var_14; unsigned int * ; +0x98, 0x761958 BL _ZN16GameLevelManager22getPlatformerSaveStatsEiRiRj; GameLevelManager::getPlatformerSaveStats(int,int &,uint &) ; +0x9a, 0x76195a LDR.W R7, [R6,#0x218] ; +0x9e, 0x76195e LDR R1, [SP,#0x20+var_14] ; +0xa2, 0x761962 MOV R0, R4 ; +0xa4, 0x761964 LDR R3, [R7] ; +0xa6, 0x761966 LDR.W R8, [R3,#0x1D0] ; +0xa8, 0x761968 BL sub_761858 ; +0xac, 0x76196c LDRB.W R3, [SP,#0x20+var_10] ; +0xb0, 0x761970 LDR R0, =(aFavoritesS - 0x761982); "Favorites: %s" ; +0xb4, 0x761974 LSLS R3, R3, #0x1F ; +0xb6, 0x761976 IT PL ; +0xb8, 0x761978 ADDPL.W R1, SP, #0x20+var_F ; +0xba, 0x76197a ADD R0, PC; "Favorites: %s" ; +0xbe, 0x76197e IT MI ; +0xc0, 0x761980 LDRMI R1, [SP,#0x20+var_8]; char * ; +0xc2, 0x761982 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xc4, 0x761984 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0xc8, 0x761988 MOV R1, R0 ; +0xcc, 0x76198c MOV R0, R7 ; +0xce, 0x76198e BLX R8 ; +0xd0, 0x761990 MOV R0, R4 ; +0xd2, 0x761992 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xd4, 0x761994 LDR R2, flt_7619D0; float ; +0xd8, 0x761998 LDR R3, flt_7619CC; float ; +0xda, 0x76199a LDR.W R0, [R6,#0x218]; this ; +0xdc, 0x76199c LDR R1, flt_7619C4; float ; +0xe0, 0x7619a0 BL _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0xe2, 0x7619a2 LDR R2, [SP,#0x20+var_4] ; +0xe6, 0x7619a6 LDR R3, [R5] ; +0xe8, 0x7619a8 CMP R2, R3 ; +0xea, 0x7619aa BEQ loc_7619BE ; +0xec, 0x7619ac BLX __stack_chk_fail ; +0xee, 0x7619ae B loc_7619B4 ; +0xf2, 0x7619b2 MOV R0, R4 ; +0xf4, 0x7619b4 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xf6, 0x7619b6 BL __cxa_end_cleanup ; +0xfa, 0x7619ba ADD SP, SP, #0x20 ; ' ' ; +0xfe, 0x7619be POP.W {R4-R8,PC} ; +0x100, 0x7619c0