; ; BrowseSmartKeyLayer::init from 0x53f204 to 0x53f79c (1432 bytes) ; ; 1 xrefs: ; > BrowseSmartKeyLayer::create @ 0x53f86e ; ; 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 ; PUSH.W {R4-R11,LR} ; +0x0, 0x53f204 MOV R5, R1 ; +0x4, 0x53f208 LDR.W R8, =(__stack_chk_guard_ptr - 0x53F21A) ; +0x6, 0x53f20a MOVS R1, #0x96; int ; +0xa, 0x53f20e VPUSH {D8-D11} ; +0xc, 0x53f210 MOV R4, R0 ; +0x10, 0x53f214 ADD R8, PC; __stack_chk_guard_ptr ; +0x12, 0x53f216 LDR.W R8, [R8]; __stack_chk_guard ; +0x14, 0x53f218 MOV R6, R2 ; +0x18, 0x53f21c LDR.W R3, [R8] ; +0x1a, 0x53f21e SUB SP, SP, #0x7C ; +0x1e, 0x53f222 STR R3, [SP,#0x7C+var_8] ; +0x20, 0x53f224 BL _ZN12FLAlertLayer4initEi; FLAlertLayer::init(int) ; +0x22, 0x53f226 STR.W R8, [SP,#0x7C+var_60] ; +0x26, 0x53f22a STR R0, [SP,#0x7C+var_68] ; +0x2a, 0x53f22e CMP R0, #0 ; +0x2c, 0x53f230 BEQ.W loc_53F758 ; +0x2e, 0x53f232 ADD.W R8, R4, #0x208 ; +0x32, 0x53f236 MOV R1, R6 ; +0x36, 0x53f23a MOV R0, R8 ; +0x38, 0x53f23c BL sub_775D40 ; +0x3a, 0x53f23e MOV R0, R4; this ; +0x3e, 0x53f242 BL _ZN24BrowseSmartTemplateLayer9baseSetupEv; BrowseSmartTemplateLayer::baseSetup(void) ; +0x40, 0x53f244 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x44, 0x53f248 MOV R1, R0 ; +0x48, 0x53f24c ADD R0, SP, #0x7C+var_58; this ; +0x4a, 0x53f24e BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x4c, 0x53f250 CBZ R5, loc_53F260 ; +0x50, 0x53f254 STR.W R5, [R4,#0x1F0] ; +0x52, 0x53f256 MOV R0, R5; this ; +0x56, 0x53f25a BL _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x58, 0x53f25c ADD R6, SP, #0x7C+var_18 ; +0x5c, 0x53f260 LDR R1, =(aHelp - 0x53F26C); "Help" ; +0x5e, 0x53f262 ADD R2, SP, #0x7C+var_28 ; +0x60, 0x53f264 ADD R5, SP, #0x7C+var_10 ; +0x62, 0x53f266 ADD R1, PC; "Help" ; +0x64, 0x53f268 MOV R0, R6; int ; +0x66, 0x53f26a BL sub_776584 ; +0x68, 0x53f26c LDR R1, =(aUseCgAddCToGiv - 0x53F27A); "Use Add to give chance to the s"... ; +0x6c, 0x53f270 MOV R0, R5; int ; +0x6e, 0x53f272 ADD R2, SP, #0x7C+var_20 ; +0x70, 0x53f274 ADD R1, PC; "Use Add to give chance to the s"... ; +0x72, 0x53f276 BL sub_776584 ; +0x74, 0x53f278 MOV R0, R6 ; +0x78, 0x53f27c MOV R1, R5 ; +0x7a, 0x53f27e MOV.W R2, #0x3F800000 ; +0x7c, 0x53f280 BL _ZN15InfoAlertButton6createESsSsf; InfoAlertButton::create(std::string,std::string,float) ; +0x80, 0x53f284 MOV R7, R0 ; +0x84, 0x53f288 MOV R0, R5 ; +0x86, 0x53f28a BL sub_774008 ; +0x88, 0x53f28c MOV R0, R6 ; +0x8c, 0x53f290 BL sub_774008 ; +0x8e, 0x53f292 LDR.W R0, [R4,#0x1B8] ; +0x92, 0x53f296 VMOV.F32 S16, #0.5 ; +0x96, 0x53f29a MOV R1, R7 ; +0x9a, 0x53f29e VLDR S17, =140.0 ; +0x9c, 0x53f2a0 LDR R3, [R0] ; +0xa0, 0x53f2a4 LDR.W R3, [R3,#0xDC] ; +0xa2, 0x53f2a6 BLX R3 ; +0xa6, 0x53f2aa VLDR S14, [SP,#0x7C+var_58] ; +0xa8, 0x53f2ac LDR R3, [R7] ; +0xac, 0x53f2b0 MOV R0, R6; this ; +0xae, 0x53f2b2 LDR.W R10, [R4,#0x1B8] ; +0xb0, 0x53f2b4 VLDR S15, =225.0 ; +0xb4, 0x53f2b8 LDR.W R9, [R3,#0x5C] ; +0xb8, 0x53f2bc VLDR S13, [SP,#0x7C+var_54] ; +0xbc, 0x53f2c0 VMLA.F32 S15, S14, S16 ; +0xc0, 0x53f2c4 VMOV.F32 S12, S17 ; +0xc4, 0x53f2c8 VMLA.F32 S12, S13, S16 ; +0xc8, 0x53f2cc VMOV.F32 S14, #18.0 ; +0xcc, 0x53f2d0 VSUB.F32 S15, S15, S14 ; +0xd0, 0x53f2d4 VMOV R1, S15; float ; +0xd4, 0x53f2d8 VSUB.F32 S15, S12, S14 ; +0xd8, 0x53f2dc VMOV R2, S15; float ; +0xdc, 0x53f2e0 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xe0, 0x53f2e4 MOV R0, R5; this ; +0xe4, 0x53f2e8 MOV R1, R10; cocos2d::CCPoint * ; +0xe6, 0x53f2ea MOV R2, R6 ; +0xe8, 0x53f2ec BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0xea, 0x53f2ee MOV R0, R7 ; +0xee, 0x53f2f2 MOV R1, R5 ; +0xf0, 0x53f2f4 BLX R9 ; +0xf2, 0x53f2f6 LDR.W R3, [R4,#0x1F0] ; +0xf4, 0x53f2f8 CMP R3, #0 ; +0xf8, 0x53f2fc BEQ.W loc_53F758 ; +0xfa, 0x53f2fe VLDR S15, [SP,#0x7C+var_54] ; +0xfe, 0x53f302 MOV R0, R5; this ; +0x102, 0x53f306 LDR.W R6, [R4,#0x1B8] ; +0x104, 0x53f308 VMOV.F32 S14, S17 ; +0x108, 0x53f30c VMLA.F32 S14, S15, S16 ; +0x10c, 0x53f310 VLDR S15, [SP,#0x7C+var_58] ; +0x110, 0x53f314 VMUL.F32 S15, S15, S16 ; +0x114, 0x53f318 VMOV R1, S15; float ; +0x118, 0x53f31c VLDR S15, =50.0 ; +0x11c, 0x53f320 VSUB.F32 S15, S14, S15 ; +0x120, 0x53f324 VMOV R2, S15; float ; +0x124, 0x53f328 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x128, 0x53f32c MOV R1, R6; cocos2d::CCPoint * ; +0x12c, 0x53f330 ADD R0, SP, #0x7C+var_50; this ; +0x12e, 0x53f332 MOV R2, R5 ; +0x130, 0x53f334 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x132, 0x53f336 LDR.W R6, [R4,#0x1F0] ; +0x136, 0x53f33a MOV R1, R8 ; +0x13a, 0x53f33e MOV R0, R5 ; +0x13c, 0x53f340 BL sub_775C20 ; +0x13e, 0x53f342 MOV R1, R5 ; +0x142, 0x53f346 MOV R0, R6 ; +0x144, 0x53f348 BL _ZN15GJSmartTemplate10getPrefabsESs; GJSmartTemplate::getPrefabs(std::string) ; +0x146, 0x53f34a MOV R9, R0 ; +0x14a, 0x53f34e MOV R0, R5 ; +0x14c, 0x53f350 BL sub_774008 ; +0x14e, 0x53f352 LDR.W R6, [R4,#0x1F0] ; +0x152, 0x53f356 MOV R1, R8 ; +0x156, 0x53f35a MOV R0, R5 ; +0x158, 0x53f35c BL sub_775C20 ; +0x15a, 0x53f35e MOV R1, R5 ; +0x15e, 0x53f362 MOV R0, R6 ; +0x160, 0x53f364 BL _ZN15GJSmartTemplate23getTotalChanceForPrefabESs; GJSmartTemplate::getTotalChanceForPrefab(std::string) ; +0x162, 0x53f366 STR R0, [SP,#0x7C+var_64] ; +0x166, 0x53f36a MOV R0, R5 ; +0x168, 0x53f36c BL sub_774008 ; +0x16a, 0x53f36e CMP.W R9, #0 ; +0x16e, 0x53f372 BEQ loc_53F382 ; +0x172, 0x53f376 MOV R0, R9; this ; +0x174, 0x53f378 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x176, 0x53f37a STR R0, [SP,#0x7C+var_6C] ; +0x17a, 0x53f37e B loc_53F386 ; +0x17c, 0x53f380 STR.W R9, [SP,#0x7C+var_6C]; float ; +0x17e, 0x53f382 VLDR S19, =60.0 ; +0x182, 0x53f386 MOVS R7, #0 ; +0x186, 0x53f38a VLDR S20, =210.0 ; +0x188, 0x53f38c VLDR S21, =-60.0 ; +0x18c, 0x53f390 LDR R3, [SP,#0x7C+var_6C] ; +0x190, 0x53f394 CMP R3, R7 ; +0x192, 0x53f396 BLT.W loc_53F558 ; +0x194, 0x53f398 ADD R5, SP, #0x7C+var_10 ; +0x198, 0x53f39c MOV R1, R8 ; +0x19a, 0x53f39e MOV R0, R5 ; +0x19c, 0x53f3a0 BL sub_775C20 ; +0x19e, 0x53f3a2 MOV R0, R5 ; +0x1a2, 0x53f3a6 BL _ZN19GJSmartBlockPreview6createESs; GJSmartBlockPreview::create(std::string) ; +0x1a4, 0x53f3a8 MOV R6, R0 ; +0x1a8, 0x53f3ac MOV R0, R5 ; +0x1aa, 0x53f3ae BL sub_774008 ; +0x1ac, 0x53f3b0 CMP R7, #0 ; +0x1b0, 0x53f3b4 BLE loc_53F42A ; +0x1b2, 0x53f3b6 SUBS R1, R7, #1; unsigned int ; +0x1b4, 0x53f3b8 MOV R0, R9; this ; +0x1b6, 0x53f3ba BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x1b8, 0x53f3bc MOV R1, R8 ; +0x1bc, 0x53f3c0 MOV R10, R0 ; +0x1be, 0x53f3c2 MOV R0, R5 ; +0x1c0, 0x53f3c4 BL sub_775C20 ; +0x1c2, 0x53f3c6 MOV R0, R6 ; +0x1c6, 0x53f3ca MOV R1, R5 ; +0x1c8, 0x53f3cc MOVS R2, #1 ; +0x1ca, 0x53f3ce BL _ZN19GJSmartBlockPreview16addTemplateGuideESsi; GJSmartBlockPreview::addTemplateGuide(std::string,int) ; +0x1cc, 0x53f3d0 ADD.W R11, SP, #0x7C+var_18 ; +0x1d0, 0x53f3d4 MOV R0, R5 ; +0x1d4, 0x53f3d8 BL sub_774008 ; +0x1d6, 0x53f3da MOV R1, R8 ; +0x1da, 0x53f3de MOV R0, R11 ; +0x1dc, 0x53f3e0 BL sub_775C20 ; +0x1de, 0x53f3e2 MOV R0, R5 ; +0x1e2, 0x53f3e6 ADD.W R1, R10, #0x38 ; '8' ; +0x1e4, 0x53f3e8 BL sub_775C20 ; +0x1e8, 0x53f3ec BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1ec, 0x53f3f0 ADD R5, SP, #0x7C+var_10 ; +0x1f0, 0x53f3f4 MOV R3, R0 ; +0x1f2, 0x53f3f6 MOV R1, R11 ; +0x1f4, 0x53f3f8 MOV R0, R6 ; +0x1f6, 0x53f3fa MOV R2, R5 ; +0x1f8, 0x53f3fc LDR.W R3, [R3,#0x170] ; +0x1fa, 0x53f3fe BL _ZN19GJSmartBlockPreview10addPreviewESsSsP16LevelEditorLayer; GJSmartBlockPreview::addPreview(std::string,std::string,LevelEditorLayer *) ; +0x1fe, 0x53f402 MOV R0, R5 ; +0x202, 0x53f406 BL sub_774008 ; +0x204, 0x53f408 MOV R0, R11 ; +0x208, 0x53f40c BL sub_774008 ; +0x20a, 0x53f40e LDR R3, [SP,#0x7C+var_64] ; +0x20e, 0x53f412 LDR.W R5, [R10,#0x3C] ; +0x210, 0x53f414 CMP R3, #0 ; +0x214, 0x53f418 BLE loc_53F444 ; +0x216, 0x53f41a MOV R0, R6; this ; +0x218, 0x53f41c LDR.W R1, [R10,#0x40]; int ; +0x21a, 0x53f41e MOV R2, R3; int ; +0x21e, 0x53f422 BL _ZN19GJSmartBlockPreview9addChanceEii; GJSmartBlockPreview::addChance(int,int) ; +0x220, 0x53f424 B loc_53F444 ; +0x224, 0x53f428 MOV R1, R8 ; +0x226, 0x53f42a MOV R0, R5 ; +0x228, 0x53f42c BL sub_775C20 ; +0x22a, 0x53f42e MOV R0, R6 ; +0x22e, 0x53f432 MOV R1, R5 ; +0x230, 0x53f434 MOVS R2, #2 ; +0x232, 0x53f436 BL _ZN19GJSmartBlockPreview16addTemplateGuideESsi; GJSmartBlockPreview::addTemplateGuide(std::string,int) ; +0x234, 0x53f438 MOV R0, R5 ; +0x238, 0x53f43c MOVS R5, #0 ; +0x23a, 0x53f43e BL sub_774008 ; +0x23c, 0x53f440 LDR R3, [R6] ; +0x240, 0x53f444 MOV R0, R6 ; +0x242, 0x53f446 MOV.W R1, #0x3F000000 ; +0x244, 0x53f448 ADD.W R11, SP, #0x7C+var_10 ; +0x248, 0x53f44c LDR R3, [R3,#0x50] ; +0x24c, 0x53f450 BLX R3 ; +0x24e, 0x53f452 LDR R3, =(_ZN19BrowseSmartKeyLayer14onPrefabObjectEPN7cocos2d8CCObjectE_ptr - 0x53F45E) ; +0x250, 0x53f454 MOV R2, R4 ; +0x252, 0x53f456 MOVS R1, #0 ; +0x254, 0x53f458 ADD R3, PC; _ZN19BrowseSmartKeyLayer14onPrefabObjectEPN7cocos2d8CCObjectE_ptr ; +0x256, 0x53f45a LDR R3, [R3]; BrowseSmartKeyLayer::onPrefabObject(cocos2d::CCObject *) ; +0x258, 0x53f45c STR R1, [SP,#0x7C+var_7C] ; +0x25a, 0x53f45e MOV R0, R6 ; +0x25c, 0x53f460 STR R3, [SP,#0x7C+var_30] ; +0x25e, 0x53f462 STR R1, [SP,#0x7C+var_2C] ; +0x260, 0x53f464 BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x262, 0x53f466 MOV R10, R0 ; +0x266, 0x53f46a LDR.W R0, [R4,#0x1B8] ; +0x268, 0x53f46c MOV R1, R10 ; +0x26c, 0x53f470 LDR R3, [R0] ; +0x26e, 0x53f472 LDR.W R3, [R3,#0xDC] ; +0x270, 0x53f474 BLX R3 ; +0x274, 0x53f478 LDR R3, [R6] ; +0x276, 0x53f47a MOV R0, R6 ; +0x278, 0x53f47c MOV R1, R5 ; +0x27a, 0x53f47e LDR R3, [R3,#0x24] ; +0x27c, 0x53f480 BLX R3 ; +0x27e, 0x53f482 LDR.W R3, [R10] ; +0x280, 0x53f484 MOV R1, R5 ; +0x284, 0x53f488 MOV R0, R10 ; +0x286, 0x53f48a MOVS R5, #0x1C ; +0x288, 0x53f48c LDR R3, [R3,#0x24] ; +0x28a, 0x53f48e BLX R3 ; +0x28c, 0x53f490 MOVS R1, #0x1C ; +0x28e, 0x53f492 MOV R0, R7 ; +0x290, 0x53f494 BLX __aeabi_idiv ; +0x292, 0x53f496 VMOV S15, R0 ; +0x296, 0x53f49a VCVT.F32.S32 S15, S15 ; +0x29a, 0x53f49e VMOV R0, S15; x ; +0x29e, 0x53f4a2 BLX floorf ; +0x2a2, 0x53f4a6 MOVS R1, #7 ; +0x2a6, 0x53f4aa VMOV S15, R0 ; +0x2a8, 0x53f4ac VCVT.S32.F32 S18, S15 ; +0x2ac, 0x53f4b0 VMOV R3, S18 ; +0x2b0, 0x53f4b4 MLS R5, R5, R3, R7 ; +0x2b4, 0x53f4b8 LDR.W R3, [R10] ; +0x2b8, 0x53f4bc ADDS R7, #1 ; +0x2bc, 0x53f4c0 LDR R6, [R3,#0x5C] ; +0x2be, 0x53f4c2 MOV R0, R5 ; +0x2c0, 0x53f4c4 BLX __aeabi_idiv ; +0x2c2, 0x53f4c6 VMOV S15, R0 ; +0x2c6, 0x53f4ca VCVT.F32.S32 S15, S15 ; +0x2ca, 0x53f4ce VMOV R0, S15; x ; +0x2ce, 0x53f4d2 BLX floorf ; +0x2d2, 0x53f4d6 MOVS R1, #7 ; +0x2d6, 0x53f4da VMOV S22, R0 ; +0x2d8, 0x53f4dc MOV R0, R5 ; +0x2dc, 0x53f4e0 BLX __aeabi_idivmod ; +0x2de, 0x53f4e2 VMOV.F32 S14, S20 ; +0x2e2, 0x53f4e6 ADD R5, SP, #0x7C+var_18 ; +0x2e6, 0x53f4ea MOV R0, R5; this ; +0x2e8, 0x53f4ec VMOV S15, R1 ; +0x2ea, 0x53f4ee VCVT.F32.S32 S15, S15 ; +0x2ee, 0x53f4f2 VNMLS.F32 S14, S15, S19 ; +0x2f2, 0x53f4f6 VMOV.F32 S15, #30.0 ; +0x2f6, 0x53f4fa VADD.F32 S15, S14, S15 ; +0x2fa, 0x53f4fe VMOV R1, S15; float ; +0x2fe, 0x53f502 VMUL.F32 S15, S22, S21 ; +0x302, 0x53f506 VMOV R2, S15; float ; +0x306, 0x53f50a BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x30a, 0x53f50e MOV R2, R5 ; +0x30e, 0x53f512 MOV R0, R11 ; +0x310, 0x53f514 ADD R1, SP, #0x7C+var_50 ; +0x312, 0x53f516 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x314, 0x53f518 MOV R0, R10 ; +0x318, 0x53f51c MOV R1, R11 ; +0x31a, 0x53f51e BLX R6 ; +0x31c, 0x53f520 MOV R0, R4; this ; +0x31e, 0x53f522 MOV R1, R10; cocos2d::CCObject * ; +0x320, 0x53f524 VMOV R2, S18; int ; +0x322, 0x53f526 BL _ZN24BrowseSmartTemplateLayer15addObjectToPageEPN7cocos2d8CCObjectEi; BrowseSmartTemplateLayer::addObjectToPage(cocos2d::CCObject *,int) ; +0x326, 0x53f52a B loc_53F394 ; +0x32a, 0x53f52e DCFS 140.0 ; +0x32c, 0x53f530 DCFS 225.0 ; +0x330, 0x53f534 DCFS 50.0 ; +0x334, 0x53f538 DCFS 60.0 ; +0x338, 0x53f53c DCFS 210.0 ; +0x33c, 0x53f540 DCFS -60.0 ; +0x340, 0x53f544 DCD __stack_chk_guard_ptr - 0x53F21A ; +0x344, 0x53f548 DCD aHelp - 0x53F26C ; +0x348, 0x53f54c DCD aUseCgAddCToGiv - 0x53F27A ; +0x34c, 0x53f550 DCD _ZN19BrowseSmartKeyLayer14onPrefabObjectEPN7cocos2d8CCObjectE_ptr - 0x53F45E ; +0x350, 0x53f554 VMOV.F32 S18, #30.0 ; +0x354, 0x53f558 MOV R0, R4; this ; +0x358, 0x53f55c MOVS R1, #0; int ; +0x35a, 0x53f55e LDR.W R11, =(aGoldfontFnt - 0x53F574); "goldFont.fnt" ; +0x35c, 0x53f560 BL _ZN24BrowseSmartTemplateLayer8goToPageEi; BrowseSmartTemplateLayer::goToPage(int) ; +0x360, 0x53f564 LDR R3, =(aGjButton01Png - 0x53F578); "GJ_button_01.png" ; +0x364, 0x53f568 LDR R0, =(aCreate - 0x53F588); "Create" ; +0x366, 0x53f56a MOVS R7, #1 ; +0x368, 0x53f56c LDR R6, =(_ZN19BrowseSmartKeyLayer8onButtonEPN7cocos2d8CCObjectE_ptr - 0x53F594) ; +0x36a, 0x53f56e ADD R11, PC; "goldFont.fnt" ; +0x36c, 0x53f570 STR R7, [SP,#0x7C+var_7C]; float ; +0x36e, 0x53f572 ADD R3, PC; "GJ_button_01.png" ; +0x370, 0x53f574 STR.W R11, [SP,#0x7C+var_78]; char * ; +0x372, 0x53f576 MOVS R1, #(dword_18+1); char * ; +0x376, 0x53f57a STR R3, [SP,#0x7C+var_74]; char * ; +0x378, 0x53f57c MOVS R2, #0; int ; +0x37a, 0x53f57e MOV.W R3, #0x3F000000; int ; +0x37c, 0x53f580 ADD R0, PC; "Create" ; +0x380, 0x53f584 MOVS R5, #0 ; +0x382, 0x53f586 VSTR S18, [SP,#0x7C+var_70] ; +0x384, 0x53f588 BL _ZN12ButtonSprite6createEPKciifbS1_S1_f; ButtonSprite::create(char const*,int,int,float,bool,char const*,char const*,float) ; +0x388, 0x53f58c ADD R6, PC; _ZN19BrowseSmartKeyLayer8onButtonEPN7cocos2d8CCObjectE_ptr ; +0x38c, 0x53f590 LDR R6, [R6]; BrowseSmartKeyLayer::onButton(cocos2d::CCObject *) ; +0x38e, 0x53f592 MOV R2, R4 ; +0x390, 0x53f594 MOV R1, R5 ; +0x392, 0x53f596 MOV R3, R6 ; +0x394, 0x53f598 STR R5, [SP,#0x7C+var_7C]; float ; +0x396, 0x53f59a STR R6, [SP,#0x7C+var_28] ; +0x398, 0x53f59c STR R5, [SP,#0x7C+var_24] ; +0x39a, 0x53f59e BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x39c, 0x53f5a0 MOV R1, R7 ; +0x3a0, 0x53f5a4 LDR R3, [R0] ; +0x3a2, 0x53f5a6 MOV R10, R0 ; +0x3a4, 0x53f5a8 LDR R3, [R3,#0x24] ; +0x3a6, 0x53f5aa BLX R3 ; +0x3a8, 0x53f5ac LDR.W R0, [R4,#0x1B8] ; +0x3aa, 0x53f5ae MOV R1, R10 ; +0x3ae, 0x53f5b2 LDR R3, [R0] ; +0x3b0, 0x53f5b4 LDR.W R3, [R3,#0xDC] ; +0x3b2, 0x53f5b6 BLX R3 ; +0x3b6, 0x53f5ba LDR R3, =(aGjButton05Png - 0x53F5CA); "GJ_button_05.png" ; +0x3b8, 0x53f5bc LDR R0, =(aDelete - 0x53F5D8); "Delete" ; +0x3ba, 0x53f5be MOV R2, R5; int ; +0x3bc, 0x53f5c0 STMEA.W SP, {R7,R11} ; +0x3be, 0x53f5c2 ADD R3, PC; "GJ_button_05.png" ; +0x3c2, 0x53f5c6 MOVS R1, #(dword_18+1); char * ; +0x3c4, 0x53f5c8 STR R3, [SP,#0x7C+var_74]; char * ; +0x3c6, 0x53f5ca VSTR S18, [SP,#0x7C+var_70] ; +0x3c8, 0x53f5cc MOV.W R3, #0x3F000000; int ; +0x3cc, 0x53f5d0 ADD R0, PC; "Delete" ; +0x3d0, 0x53f5d4 BL _ZN12ButtonSprite6createEPKciifbS1_S1_f; ButtonSprite::create(char const*,int,int,float,bool,char const*,char const*,float) ; +0x3d2, 0x53f5d6 MOV R2, R4 ; +0x3d6, 0x53f5da MOV R3, R6 ; +0x3d8, 0x53f5dc MOV R1, R5 ; +0x3da, 0x53f5de STR R5, [SP,#0x7C+var_7C]; float ; +0x3dc, 0x53f5e0 STR R6, [SP,#0x7C+var_20] ; +0x3de, 0x53f5e2 STR R5, [SP,#0x7C+var_1C] ; +0x3e0, 0x53f5e4 BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x3e2, 0x53f5e6 MOVS R1, #2 ; +0x3e6, 0x53f5ea LDR R3, [R0] ; +0x3e8, 0x53f5ec MOV R9, R0 ; +0x3ea, 0x53f5ee LDR R3, [R3,#0x24] ; +0x3ec, 0x53f5f0 BLX R3 ; +0x3ee, 0x53f5f2 LDR.W R0, [R4,#0x1B8] ; +0x3f0, 0x53f5f4 MOV R1, R9 ; +0x3f4, 0x53f5f8 LDR R3, [R0] ; +0x3f6, 0x53f5fa LDR.W R3, [R3,#0xDC] ; +0x3f8, 0x53f5fc BLX R3 ; +0x3fc, 0x53f600 LDR.W R12, =(aGjButton02Png - 0x53F60E); "GJ_button_02.png" ; +0x3fe, 0x53f602 LDR R0, =(aZero - 0x53F622); "Zero" ; +0x402, 0x53f606 MOV R2, R5; int ; +0x404, 0x53f608 ADD R12, PC; "GJ_button_02.png" ; +0x406, 0x53f60a STMEA.W SP, {R7,R11} ; +0x408, 0x53f60c STR.W R12, [SP,#0x7C+var_74]; char * ; +0x40c, 0x53f610 MOVS R1, #(dword_18+1); char * ; +0x410, 0x53f614 MOV.W R3, #0x3F000000; int ; +0x412, 0x53f616 VSTR S18, [SP,#0x7C+var_70] ; +0x416, 0x53f61a ADD R0, PC; "Zero" ; +0x41a, 0x53f61e STR.W R12, [SP,#0x7C+var_6C]; float ; +0x41c, 0x53f620 BL _ZN12ButtonSprite6createEPKciifbS1_S1_f; ButtonSprite::create(char const*,int,int,float,bool,char const*,char const*,float) ; +0x420, 0x53f624 MOV R2, R4 ; +0x424, 0x53f628 MOV R3, R6 ; +0x426, 0x53f62a MOV R1, R5 ; +0x428, 0x53f62c STR R5, [SP,#0x7C+var_7C]; float ; +0x42a, 0x53f62e STR R6, [SP,#0x7C+var_18] ; +0x42c, 0x53f630 STR R5, [SP,#0x7C+var_14] ; +0x42e, 0x53f632 BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x430, 0x53f634 MOVS R1, #3 ; +0x434, 0x53f638 LDR R3, [R0] ; +0x436, 0x53f63a MOV R8, R0 ; +0x438, 0x53f63c LDR R3, [R3,#0x24] ; +0x43a, 0x53f63e BLX R3 ; +0x43c, 0x53f640 LDR.W R0, [R4,#0x1B8] ; +0x43e, 0x53f642 MOV R1, R8 ; +0x442, 0x53f646 LDR R3, [R0] ; +0x444, 0x53f648 LDR.W R3, [R3,#0xDC] ; +0x446, 0x53f64a BLX R3 ; +0x44a, 0x53f64e LDR.W R12, [SP,#0x7C+var_6C] ; +0x44c, 0x53f650 LDR R0, =(aAdd - 0x53F66E); "Add" ; +0x450, 0x53f654 MOV R2, R5; int ; +0x452, 0x53f656 STMEA.W SP, {R7,R11} ; +0x454, 0x53f658 MOVS R1, #(dword_18+1); char * ; +0x458, 0x53f65c STR.W R12, [SP,#0x7C+var_74]; char * ; +0x45a, 0x53f65e MOV.W R3, #0x3F000000; int ; +0x45e, 0x53f662 VSTR S18, [SP,#0x7C+var_70] ; +0x462, 0x53f666 ADD R0, PC; "Add" ; +0x466, 0x53f66a BL _ZN12ButtonSprite6createEPKciifbS1_S1_f; ButtonSprite::create(char const*,int,int,float,bool,char const*,char const*,float) ; +0x468, 0x53f66c MOV R2, R4 ; +0x46c, 0x53f670 MOV R3, R6 ; +0x46e, 0x53f672 MOV R1, R5 ; +0x470, 0x53f674 STR R5, [SP,#0x7C+var_7C] ; +0x472, 0x53f676 STR R6, [SP,#0x7C+var_10] ; +0x474, 0x53f678 ADD R6, SP, #0x7C+var_48 ; +0x476, 0x53f67a STR R5, [SP,#0x7C+var_C] ; +0x478, 0x53f67c BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x47a, 0x53f67e MOVS R1, #4 ; +0x47e, 0x53f682 LDR R3, [R0] ; +0x480, 0x53f684 MOV R7, R0 ; +0x482, 0x53f686 LDR R3, [R3,#0x24] ; +0x484, 0x53f688 BLX R3 ; +0x486, 0x53f68a LDR.W R0, [R4,#0x1B8] ; +0x488, 0x53f68c MOV R1, R7 ; +0x48c, 0x53f690 LDR R3, [R0] ; +0x48e, 0x53f692 LDR.W R3, [R3,#0xDC] ; +0x490, 0x53f694 BLX R3 ; +0x494, 0x53f698 VLDR S15, [SP,#0x7C+var_54] ; +0x496, 0x53f69a LDR.W R5, [R4,#0x1B8] ; +0x49a, 0x53f69e ADD R4, SP, #0x7C+var_38 ; +0x49e, 0x53f6a2 MOV R0, R4; this ; +0x4a0, 0x53f6a4 VNMLS.F32 S17, S15, S16 ; +0x4a2, 0x53f6a6 VLDR S15, [SP,#0x7C+var_58] ; +0x4a6, 0x53f6aa VMUL.F32 S15, S15, S16 ; +0x4aa, 0x53f6ae VMOV R1, S15; float ; +0x4ae, 0x53f6b2 VMOV.F32 S15, #24.0 ; +0x4b2, 0x53f6b6 VADD.F32 S15, S17, S15 ; +0x4b6, 0x53f6ba VMOV R2, S15; float ; +0x4ba, 0x53f6be BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x4be, 0x53f6c2 MOV R1, R5; cocos2d::CCPoint * ; +0x4c2, 0x53f6c6 MOV R0, R6; this ; +0x4c4, 0x53f6c8 MOV R2, R4 ; +0x4c6, 0x53f6ca ADD R5, SP, #0x7C+var_40 ; +0x4c8, 0x53f6cc BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x4ca, 0x53f6ce LDR.W R3, [R10] ; +0x4ce, 0x53f6d2 MOVS R2, #0; float ; +0x4d2, 0x53f6d6 LDR R1, flt_53F79C; float ; +0x4d4, 0x53f6d8 MOV R0, R5; this ; +0x4d6, 0x53f6da LDR.W R11, [R3,#0x5C] ; +0x4d8, 0x53f6dc BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x4dc, 0x53f6e0 MOV R2, R5 ; +0x4e0, 0x53f6e4 MOV R0, R4 ; +0x4e2, 0x53f6e6 MOV R1, R6 ; +0x4e4, 0x53f6e8 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x4e6, 0x53f6ea MOV R0, R10 ; +0x4ea, 0x53f6ee MOV R1, R4 ; +0x4ec, 0x53f6f0 BLX R11 ; +0x4ee, 0x53f6f2 LDR.W R3, [R9] ; +0x4f0, 0x53f6f4 LDR R1, flt_53F7A0; float ; +0x4f4, 0x53f6f8 MOVS R2, #0; float ; +0x4f6, 0x53f6fa MOV R0, R5; this ; +0x4f8, 0x53f6fc LDR.W R10, [R3,#0x5C] ; +0x4fa, 0x53f6fe BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x4fe, 0x53f702 MOV R2, R5 ; +0x502, 0x53f706 MOV R0, R4 ; +0x504, 0x53f708 MOV R1, R6 ; +0x506, 0x53f70a BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x508, 0x53f70c MOV R0, R9 ; +0x50c, 0x53f710 MOV R1, R4 ; +0x50e, 0x53f712 BLX R10 ; +0x510, 0x53f714 LDR.W R3, [R8] ; +0x512, 0x53f716 LDR R1, flt_53F7A4; float ; +0x516, 0x53f71a MOVS R2, #0; float ; +0x518, 0x53f71c MOV R0, R5; this ; +0x51a, 0x53f71e LDR.W R9, [R3,#0x5C] ; +0x51c, 0x53f720 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x520, 0x53f724 MOV R2, R5 ; +0x524, 0x53f728 MOV R0, R4 ; +0x526, 0x53f72a MOV R1, R6 ; +0x528, 0x53f72c BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x52a, 0x53f72e MOV R0, R8 ; +0x52e, 0x53f732 MOV R1, R4 ; +0x530, 0x53f734 BLX R9 ; +0x532, 0x53f736 LDR R3, [R7] ; +0x534, 0x53f738 LDR R1, flt_53F7A8; float ; +0x536, 0x53f73a MOVS R2, #0; float ; +0x538, 0x53f73c MOV R0, R5; this ; +0x53a, 0x53f73e LDR.W R8, [R3,#0x5C] ; +0x53c, 0x53f740 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x540, 0x53f744 MOV R0, R4 ; +0x544, 0x53f748 MOV R1, R6 ; +0x546, 0x53f74a MOV R2, R5 ; +0x548, 0x53f74c BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x54a, 0x53f74e MOV R0, R7 ; +0x54e, 0x53f752 MOV R1, R4 ; +0x550, 0x53f754 BLX R8 ; +0x552, 0x53f756 LDR R3, [SP,#0x7C+var_60] ; +0x554, 0x53f758 LDR R2, [SP,#0x7C+var_8] ; +0x556, 0x53f75a LDR R0, [SP,#0x7C+var_68] ; +0x558, 0x53f75c LDR R3, [R3] ; +0x55a, 0x53f75e CMP R2, R3 ; +0x55c, 0x53f760 BEQ loc_53F792 ; +0x55e, 0x53f762 BLX __stack_chk_fail ; +0x560, 0x53f764 MOV R0, R5 ; +0x564, 0x53f768 BL sub_774008 ; +0x566, 0x53f76a B loc_53F770 ; +0x56a, 0x53f76e MOV R0, R6 ; +0x56c, 0x53f770 B loc_53F776 ; +0x56e, 0x53f772 MOV R0, R5 ; +0x570, 0x53f774 BL sub_774008 ; +0x572, 0x53f776 BL __cxa_end_cleanup ; +0x576, 0x53f77a B loc_53F774 ; +0x57a, 0x53f77e B loc_53F774 ; +0x57c, 0x53f780 B loc_53F774 ; +0x57e, 0x53f782 ADD R0, SP, #0x7C+var_10 ; +0x580, 0x53f784 BL sub_774008 ; +0x582, 0x53f786 B loc_53F78C ; +0x586, 0x53f78a ADD R0, SP, #0x7C+var_18 ; +0x588, 0x53f78c B loc_53F776 ; +0x58a, 0x53f78e B loc_53F774 ; +0x58c, 0x53f790 ADD SP, SP, #0x7C ; '|' ; +0x58e, 0x53f792 VPOP {D8-D11} ; +0x590, 0x53f794 POP.W {R4-R11,PC} ; +0x594, 0x53f798