; ; BrowseSmartKeyLayer::updateChanceValues from 0x673ddc to 0x673eac (208 bytes) ; ; 2 xrefs: ; > BrowseSmartKeyLayer::deletedSelectedItems @ 0x673f54 ; > BrowseSmartKeyLayer::addChanceToSelected @ 0x673ffe ; ; 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:55:54 +0000 ; PUSH.W {R4-R11,LR} ; +0x0, 0x673ddc SUB SP, SP, #0x1C ; +0x4, 0x673de0 LDR R6, =(__stack_chk_guard_ptr - 0x673DF2) ; +0x6, 0x673de2 ADD.W R9, R0, #0x220 ; +0x8, 0x673de4 LDR.W R7, [R0,#0x208] ; +0xc, 0x673de8 ADD R4, SP, #0x1C+var_14 ; +0x10, 0x673dec ADD R6, PC; __stack_chk_guard_ptr ; +0x12, 0x673dee LDR R6, [R6]; __stack_chk_guard ; +0x14, 0x673df0 MOV R1, R9 ; +0x16, 0x673df2 MOV R5, R0 ; +0x18, 0x673df4 MOV R0, R4 ; +0x1a, 0x673df6 LDR R3, [R6] ; +0x1c, 0x673df8 STR R3, [SP,#0x1C+var_8] ; +0x1e, 0x673dfa BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x20, 0x673dfc MOV R0, R7 ; +0x24, 0x673e00 MOV R1, R4 ; +0x26, 0x673e02 STR R6, [SP,#0x1C+var_18] ; +0x28, 0x673e04 BL _ZN15GJSmartTemplate23getTotalChanceForPrefabENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; GJSmartTemplate::getTotalChanceForPrefab(std::string) ; +0x2a, 0x673e06 STR R0, [SP,#0x1C+var_1C] ; +0x2e, 0x673e0a MOV R0, R4 ; +0x30, 0x673e0c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x32, 0x673e0e MOVS R6, #0 ; +0x36, 0x673e12 LDR.W R0, [R5,#0x20C]; this ; +0x38, 0x673e14 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3c, 0x673e18 CMP R6, R0 ; +0x40, 0x673e1c BCS loc_673E98 ; +0x42, 0x673e1e LDR.W R0, [R5,#0x20C]; this ; +0x44, 0x673e20 MOV R1, R6; unsigned int ; +0x48, 0x673e24 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x4a, 0x673e26 MOVS R7, #0 ; +0x4e, 0x673e2a MOV R10, R0 ; +0x50, 0x673e2c MOV R0, R10; this ; +0x52, 0x673e2e BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x54, 0x673e30 CMP R7, R0 ; +0x58, 0x673e34 BCS loc_673E88 ; +0x5a, 0x673e36 MOV R1, R7; unsigned int ; +0x5c, 0x673e38 MOV R0, R10; this ; +0x5e, 0x673e3a BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x60, 0x673e3c LDR R3, [R0] ; +0x64, 0x673e40 LDR.W R3, [R3,#0x218] ; +0x66, 0x673e42 BLX R3 ; +0x6a, 0x673e46 MOV R1, R9 ; +0x6c, 0x673e48 LDR.W R11, [R5,#0x208] ; +0x6e, 0x673e4a MOV R8, R0 ; +0x72, 0x673e4e MOV R0, R4 ; +0x74, 0x673e50 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x76, 0x673e52 LDR.W R3, [R8] ; +0x7a, 0x673e56 MOV R0, R8 ; +0x7e, 0x673e5a LDR R3, [R3,#0x20] ; +0x80, 0x673e5c BLX R3 ; +0x82, 0x673e5e MOV R2, R0 ; +0x84, 0x673e60 MOV R1, R4 ; +0x86, 0x673e62 MOV R0, R11 ; +0x88, 0x673e64 BL _ZN15GJSmartTemplate15getPrefabWithIDENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEi; GJSmartTemplate::getPrefabWithID(std::string,int) ; +0x8a, 0x673e66 MOV R11, R0 ; +0x8e, 0x673e6a MOV R0, R4 ; +0x90, 0x673e6c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x92, 0x673e6e CMP.W R11, #0 ; +0x96, 0x673e72 BEQ loc_673E84 ; +0x9a, 0x673e76 MOV R0, R8; this ; +0x9c, 0x673e78 LDR.W R1, [R11,#0x50]; int ; +0x9e, 0x673e7a LDR R2, [SP,#0x1C+var_1C]; int ; +0xa2, 0x673e7e BL _ZN19GJSmartBlockPreview9addChanceEii; GJSmartBlockPreview::addChance(int,int) ; +0xa4, 0x673e80 ADDS R7, #1 ; +0xa8, 0x673e84 B loc_673E2E ; +0xaa, 0x673e86 ADDS R6, #1 ; +0xac, 0x673e88 B loc_673E14 ; +0xae, 0x673e8a B loc_673E8E ; +0xb0, 0x673e8c MOV R0, R4 ; +0xb2, 0x673e8e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb4, 0x673e90 BL __cxa_end_cleanup ; +0xb8, 0x673e94 LDR R3, [SP,#0x1C+var_18] ; +0xbc, 0x673e98 LDR R2, [SP,#0x1C+var_8] ; +0xbe, 0x673e9a LDR R3, [R3] ; +0xc0, 0x673e9c CMP R2, R3 ; +0xc2, 0x673e9e BEQ loc_673EA6 ; +0xc4, 0x673ea0 BLX __stack_chk_fail ; +0xc6, 0x673ea2 ADD SP, SP, #0x1C ; +0xca, 0x673ea6 POP.W {R4-R11,PC} ; +0xcc, 0x673ea8