; ; BrowseSmartKeyLayer::deletedSelectedItems from 0x53fbf4 to 0x53fcba (198 bytes) ; ; 1 xrefs: ; > BrowseSmartKeyLayer::onButton @ 0x53fd92 ; ; 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 - 0x53FBFE) ; +0x0, 0x53fbf4 PUSH.W {R4-R11,LR} ; +0x2, 0x53fbf6 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x53fbfa LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x53fbfc SUB SP, SP, #0x14 ; +0xa, 0x53fbfe MOV R4, R0 ; +0xc, 0x53fc00 LDR R2, [R3] ; +0xe, 0x53fc02 ADD R6, SP, #0x14+var_C ; +0x10, 0x53fc04 MOVS R7, #0 ; +0x12, 0x53fc06 MOV R11, R3 ; +0x14, 0x53fc08 STR R2, [SP,#0x14+var_8] ; +0x16, 0x53fc0a LDR.W R0, [R4,#0x1F4]; this ; +0x18, 0x53fc0c BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1c, 0x53fc10 CMP R7, R0 ; +0x20, 0x53fc14 BCS loc_53FC96 ; +0x22, 0x53fc16 LDR.W R0, [R4,#0x1F4]; this ; +0x24, 0x53fc18 MOV R1, R7; unsigned int ; +0x28, 0x53fc1c BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x2a, 0x53fc1e ADD.W R10, R4, #0x208 ; +0x2e, 0x53fc22 MOVS R5, #0 ; +0x32, 0x53fc26 MOV R8, R0 ; +0x34, 0x53fc28 MOV R0, R8; this ; +0x36, 0x53fc2a BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x38, 0x53fc2c CMP R5, R0 ; +0x3c, 0x53fc30 BCS loc_53FC92 ; +0x3e, 0x53fc32 MOV R1, R5; unsigned int ; +0x40, 0x53fc34 MOV R0, R8; this ; +0x42, 0x53fc36 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0x53fc38 LDR R3, [R0] ; +0x48, 0x53fc3c MOV R9, R0 ; +0x4a, 0x53fc3e LDR.W R3, [R3,#0x210] ; +0x4c, 0x53fc40 BLX R3 ; +0x50, 0x53fc44 LDRB.W R2, [R0,#0x114] ; +0x52, 0x53fc46 CBZ R2, loc_53FC8E ; +0x56, 0x53fc4a LDR.W R3, [R4,#0x1F0] ; +0x58, 0x53fc4c MOV R1, R10 ; +0x5c, 0x53fc50 STR R0, [SP,#0x14+var_10] ; +0x5e, 0x53fc52 MOV R0, R6 ; +0x60, 0x53fc54 STR R3, [SP,#0x14+var_14] ; +0x62, 0x53fc56 BL sub_775C20 ; +0x64, 0x53fc58 LDR R3, [SP,#0x14+var_10] ; +0x68, 0x53fc5c LDR R2, [R3] ; +0x6a, 0x53fc5e MOV R0, R3 ; +0x6c, 0x53fc60 LDR R2, [R2,#0x20] ; +0x6e, 0x53fc62 BLX R2 ; +0x70, 0x53fc64 MOV R2, R0 ; +0x72, 0x53fc66 MOV R1, R6 ; +0x74, 0x53fc68 LDR R0, [SP,#0x14+var_14] ; +0x76, 0x53fc6a BL _ZN15GJSmartTemplate12removePrefabESsi; GJSmartTemplate::removePrefab(std::string,int) ; +0x78, 0x53fc6c MOV R0, R6 ; +0x7c, 0x53fc70 BL sub_774008 ; +0x7e, 0x53fc72 LDR.W R3, [R9] ; +0x82, 0x53fc76 MOV R0, R9 ; +0x86, 0x53fc7a LDR.W R3, [R3,#0x104] ; +0x88, 0x53fc7c BLX R3 ; +0x8c, 0x53fc80 MOV R0, R8; this ; +0x8e, 0x53fc82 MOV R1, R5; unsigned int ; +0x90, 0x53fc84 MOVS R2, #1; bool ; +0x92, 0x53fc86 BL _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x94, 0x53fc88 B loc_53FC2A ; +0x98, 0x53fc8c ADDS R5, #1 ; +0x9a, 0x53fc8e B loc_53FC2A ; +0x9c, 0x53fc90 ADDS R7, #1 ; +0x9e, 0x53fc92 B loc_53FC0C ; +0xa0, 0x53fc94 MOV R0, R4; this ; +0xa2, 0x53fc96 BL _ZN19BrowseSmartKeyLayer18updateChanceValuesEv; BrowseSmartKeyLayer::updateChanceValues(void) ; +0xa4, 0x53fc98 LDR R2, [SP,#0x14+var_8] ; +0xa8, 0x53fc9c LDR.W R3, [R11] ; +0xaa, 0x53fc9e CMP R2, R3 ; +0xae, 0x53fca2 BEQ loc_53FCB4 ; +0xb0, 0x53fca4 BLX __stack_chk_fail ; +0xb2, 0x53fca6 MOV R0, R6 ; +0xb6, 0x53fcaa BL sub_774008 ; +0xb8, 0x53fcac BL __cxa_end_cleanup ; +0xbc, 0x53fcb0 ADD SP, SP, #0x14 ; +0xc0, 0x53fcb4 POP.W {R4-R11,PC} ; +0xc2, 0x53fcb6