; ; BrowseSmartKeyLayer::createTemplateObjects from 0x67411c to 0x6741fc (224 bytes) ; ; 1 xrefs: ; > BrowseSmartKeyLayer::onButton @ 0x67422c ; ; 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-R10,LR} ; +0x0, 0x67411c SUB SP, SP, #0x28 ; +0x4, 0x674120 LDR R7, =(__stack_chk_guard_ptr - 0x67412A) ; +0x6, 0x674122 MOV R8, R0 ; +0x8, 0x674124 ADD R7, PC; __stack_chk_guard_ptr ; +0xa, 0x674126 LDR R7, [R7]; __stack_chk_guard ; +0xc, 0x674128 LDR R3, [R7] ; +0xe, 0x67412a STR R3, [SP,#0x28+var_4] ; +0x10, 0x67412c BL _ZN19BrowseSmartKeyLayer20getAllSelectedBlocksEv; BrowseSmartKeyLayer::getAllSelectedBlocks(void) ; +0x12, 0x67412e MOV R6, R0 ; +0x16, 0x674132 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0x674134 CMP R0, #0 ; +0x1c, 0x674138 BEQ loc_6741EA ; +0x1e, 0x67413a ADD R4, SP, #0x28+var_10 ; +0x20, 0x67413c ADD.W R10, R8, #0x220 ; +0x22, 0x67413e MOVS R5, #0 ; +0x26, 0x674142 MOV R0, R6; this ; +0x28, 0x674144 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2a, 0x674146 CMP R5, R0 ; +0x2e, 0x67414a BCS loc_67417E ; +0x30, 0x67414c MOV R1, R5; unsigned int ; +0x32, 0x67414e MOV R0, R6; this ; +0x34, 0x674150 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x36, 0x674152 MOV R1, R10 ; +0x3a, 0x674156 MOV R9, R0 ; +0x3c, 0x674158 MOV R0, R4 ; +0x3e, 0x67415a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x40, 0x67415c LDR.W R3, [R9] ; +0x44, 0x674160 MOV R0, R9 ; +0x48, 0x674164 LDR R3, [R3,#0x20] ; +0x4a, 0x674166 BLX R3 ; +0x4c, 0x674168 MOV R2, R0 ; +0x4e, 0x67416a MOV R1, R4 ; +0x50, 0x67416c MOV R0, R8 ; +0x52, 0x67416e BL _ZN24BrowseSmartTemplateLayer12createPrefabENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEi; BrowseSmartTemplateLayer::createPrefab(std::string,int) ; +0x54, 0x674170 MOV R0, R4 ; +0x58, 0x674174 ADDS R5, #1 ; +0x5a, 0x674176 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x5c, 0x674178 B loc_674144 ; +0x60, 0x67417c LDR.W R3, [R8] ; +0x62, 0x67417e ADD R6, SP, #0x28+var_1C ; +0x66, 0x674182 LDR R1, =(aAddedToEditor - 0x674190); "Added to editor" ; +0x68, 0x674184 MOVS R2, #0xF ; +0x6a, 0x674186 MOV R0, R6 ; +0x6c, 0x674188 MOVS R5, #0 ; +0x6e, 0x67418a ADD R1, PC; "Added to editor" ; +0x70, 0x67418c LDR.W R9, [R3,#0xE8] ; +0x72, 0x67418e STR R5, [SP,#0x28+var_1C] ; +0x76, 0x674192 STR R5, [SP,#0x28+var_18] ; +0x78, 0x674194 STR R5, [SP,#0x28+var_14] ; +0x7a, 0x674196 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x7c, 0x674198 LDR R1, =(unk_B6B226 - 0x6741A8) ; +0x80, 0x67419c MOV R0, R4 ; +0x82, 0x67419e MOV R2, R5 ; +0x84, 0x6741a0 STR R5, [SP,#0x28+var_10] ; +0x86, 0x6741a2 ADD R1, PC; unk_B6B226 ; +0x88, 0x6741a4 STR R5, [SP,#0x28+var_C] ; +0x8a, 0x6741a6 STR R5, [SP,#0x28+var_8] ; +0x8c, 0x6741a8 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x8e, 0x6741aa STR R4, [SP,#0x28+var_28] ; +0x92, 0x6741ae MOV R0, R6 ; +0x94, 0x6741b0 MOV.W R1, #0x3F000000 ; +0x96, 0x6741b2 LDR R2, =0x3F19999A ; +0x9a, 0x6741b6 MOVS R3, #0x96 ; +0x9c, 0x6741b8 BL _ZN14TextAlertPopup6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEffiS6_; TextAlertPopup::create(std::string,float,float,int,std::string) ; +0x9e, 0x6741ba MOV R1, R0 ; +0xa2, 0x6741be MOVS R2, #0x64 ; 'd' ; +0xa4, 0x6741c0 MOV R0, R8 ; +0xa6, 0x6741c2 BLX R9 ; +0xa8, 0x6741c4 MOV R0, R4 ; +0xaa, 0x6741c6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xac, 0x6741c8 MOV R0, R6 ; +0xb0, 0x6741cc BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb2, 0x6741ce B loc_6741EA ; +0xb6, 0x6741d2 MOV R0, R4 ; +0xb8, 0x6741d4 B loc_6741E2 ; +0xba, 0x6741d6 MOV R0, R4 ; +0xbc, 0x6741d8 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xbe, 0x6741da B loc_6741E0 ; +0xc2, 0x6741de MOV R0, R6 ; +0xc4, 0x6741e0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xc6, 0x6741e2 BL __cxa_end_cleanup ; +0xca, 0x6741e6 LDR R2, [SP,#0x28+var_4] ; +0xce, 0x6741ea LDR R3, [R7] ; +0xd0, 0x6741ec CMP R2, R3 ; +0xd2, 0x6741ee BEQ loc_6741F6 ; +0xd4, 0x6741f0 BLX __stack_chk_fail ; +0xd6, 0x6741f2 ADD SP, SP, #0x28 ; '(' ; +0xda, 0x6741f6 POP.W {R4-R10,PC} ; +0xdc, 0x6741f8