; ; BrowseSmartTemplateLayer::onTemplateObject from 0x6752a8 to 0x6753ca (290 bytes) ; ; 0 xrefs: ; ; 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:55 +0000 ; PUSH.W {R4-R9,LR} ; +0x0, 0x6752a8 SUB SP, SP, #0x2C ; +0x4, 0x6752ac LDR.W R8, =(__stack_chk_guard_ptr - 0x6752BC) ; +0x6, 0x6752ae MOV R5, R0 ; +0xa, 0x6752b2 MOV R0, R1 ; +0xc, 0x6752b4 ADD R4, SP, #0x2C+var_14 ; +0xe, 0x6752b6 ADD R8, PC; __stack_chk_guard_ptr ; +0x10, 0x6752b8 LDR.W R8, [R8]; __stack_chk_guard ; +0x12, 0x6752ba LDR.W R3, [R8] ; +0x16, 0x6752be STR R3, [SP,#0x2C+var_8] ; +0x1a, 0x6752c2 LDR R3, [R1] ; +0x1c, 0x6752c4 LDR.W R3, [R3,#0x218] ; +0x1e, 0x6752c6 BLX R3 ; +0x22, 0x6752ca LDR.W R7, [R5,#0x208] ; +0x24, 0x6752cc ADD.W R6, R0, #0x108 ; +0x28, 0x6752d0 MOV R0, R4 ; +0x2c, 0x6752d4 MOV R1, R6 ; +0x2e, 0x6752d6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x30, 0x6752d8 MOV R0, R7 ; +0x34, 0x6752dc MOV R1, R4 ; +0x36, 0x6752de BL _ZN15GJSmartTemplate10getPrefabsENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; GJSmartTemplate::getPrefabs(std::string) ; +0x38, 0x6752e0 MOV R7, R0 ; +0x3c, 0x6752e4 MOV R0, R4 ; +0x3e, 0x6752e6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x40, 0x6752e8 CBZ R7, loc_67533C ; +0x44, 0x6752ec MOV R0, R7; this ; +0x46, 0x6752ee BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x6752f0 CBNZ R0, loc_675304 ; +0x4c, 0x6752f4 B loc_67533C ; +0x4e, 0x6752f6 B loc_6752FA ; +0x50, 0x6752f8 MOV R0, R4 ; +0x52, 0x6752fa BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x54, 0x6752fc BL __cxa_end_cleanup ; +0x58, 0x675300 MOV R0, R5; this ; +0x5c, 0x675304 MOVS R1, #0; cocos2d::CCObject * ; +0x5e, 0x675306 BL _ZN24BrowseSmartTemplateLayer7onCloseEPN7cocos2d8CCObjectE; BrowseSmartTemplateLayer::onClose(cocos2d::CCObject *) ; +0x60, 0x675308 LDR.W R7, [R5,#0x208] ; +0x64, 0x67530c MOV R1, R6 ; +0x68, 0x675310 MOV R0, R4 ; +0x6a, 0x675312 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x6c, 0x675314 MOV R1, R4 ; +0x70, 0x675318 MOV R0, R7 ; +0x72, 0x67531a BL _ZN19BrowseSmartKeyLayer6createEP15GJSmartTemplateNSt6__ndk112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE; BrowseSmartKeyLayer::create(GJSmartTemplate *,std::string) ; +0x74, 0x67531c MOV R6, R0 ; +0x78, 0x675320 MOV R0, R4 ; +0x7a, 0x675322 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x7c, 0x675324 LDR.W R3, [R5,#0x210] ; +0x80, 0x675328 MOV R0, R6 ; +0x84, 0x67532c STR.W R3, [R6,#0x22C] ; +0x86, 0x67532e LDR R3, [R6] ; +0x8a, 0x675332 LDR.W R3, [R3,#0x290] ; +0x8c, 0x675334 BLX R3 ; +0x90, 0x675338 B loc_6753B6 ; +0x92, 0x67533a MOV R1, R6 ; +0x94, 0x67533c MOV R0, R4 ; +0x96, 0x67533e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x98, 0x675340 MOV R0, R5 ; +0x9c, 0x675344 MOV R1, R4 ; +0x9e, 0x675346 MOVS R2, #0 ; +0xa0, 0x675348 BL _ZN24BrowseSmartTemplateLayer12createPrefabENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEi; BrowseSmartTemplateLayer::createPrefab(std::string,int) ; +0xa2, 0x67534a MOV R0, R4 ; +0xa6, 0x67534e ADD R7, SP, #0x2C+var_20 ; +0xa8, 0x675350 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xaa, 0x675352 LDR R3, [R5] ; +0xae, 0x675356 LDR R1, =(aAddedToEditor - 0x675364); "Added to editor" ; +0xb0, 0x675358 MOV R0, R7 ; +0xb2, 0x67535a MOVS R2, #0xF ; +0xb4, 0x67535c MOVS R6, #0 ; +0xb6, 0x67535e ADD R1, PC; "Added to editor" ; +0xb8, 0x675360 LDR.W R9, [R3,#0xE8] ; +0xba, 0x675362 STR R6, [SP,#0x2C+var_20] ; +0xbe, 0x675366 STR R6, [SP,#0x2C+var_1C] ; +0xc0, 0x675368 STR R6, [SP,#0x2C+var_18] ; +0xc2, 0x67536a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xc4, 0x67536c LDR R1, =(unk_B6B226 - 0x67537C) ; +0xc8, 0x675370 MOV R0, R4 ; +0xca, 0x675372 MOV R2, R6 ; +0xcc, 0x675374 STR R6, [SP,#0x2C+var_14] ; +0xce, 0x675376 ADD R1, PC; unk_B6B226 ; +0xd0, 0x675378 STR R6, [SP,#0x2C+var_10] ; +0xd2, 0x67537a STR R6, [SP,#0x2C+var_C] ; +0xd4, 0x67537c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xd6, 0x67537e STR R4, [SP,#0x2C+var_2C] ; +0xda, 0x675382 MOV R0, R7 ; +0xdc, 0x675384 MOV.W R1, #0x3F000000 ; +0xde, 0x675386 LDR R2, =0x3F19999A ; +0xe2, 0x67538a MOVS R3, #0x96 ; +0xe4, 0x67538c BL _ZN14TextAlertPopup6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEffiS6_; TextAlertPopup::create(std::string,float,float,int,std::string) ; +0xe6, 0x67538e MOV R1, R0 ; +0xea, 0x675392 MOVS R2, #0x64 ; 'd' ; +0xec, 0x675394 MOV R0, R5 ; +0xee, 0x675396 BLX R9 ; +0xf0, 0x675398 MOV R0, R4 ; +0xf2, 0x67539a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xf4, 0x67539c MOV R0, R7 ; +0xf8, 0x6753a0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xfa, 0x6753a2 B loc_6753B6 ; +0xfe, 0x6753a6 B loc_6752FA ; +0x100, 0x6753a8 MOV R0, R4 ; +0x102, 0x6753aa BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x104, 0x6753ac B loc_6753B2 ; +0x108, 0x6753b0 MOV R0, R7 ; +0x10a, 0x6753b2 B loc_6752FC ; +0x10c, 0x6753b4 LDR R2, [SP,#0x2C+var_8] ; +0x10e, 0x6753b6 LDR.W R3, [R8] ; +0x110, 0x6753b8 CMP R2, R3 ; +0x114, 0x6753bc BEQ loc_6753C4 ; +0x116, 0x6753be BLX __stack_chk_fail ; +0x118, 0x6753c0 ADD SP, SP, #0x2C ; ',' ; +0x11c, 0x6753c4 POP.W {R4-R9,PC} ; +0x11e, 0x6753c6