; ; DemonInfoPopup::init from 0x4c82f8 to 0x4c888c (1428 bytes) ; ; 1 xrefs: ; > DemonInfoPopup::create @ 0x4c8944 ; ; 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, 0x4c82f8 MOV R8, R1 ; +0x4, 0x4c82fc VPUSH {D8} ; +0x6, 0x4c82fe MOVS R1, #0x4B ; 'K'; int ; +0xa, 0x4c8302 LDR R7, =(__stack_chk_guard_ptr - 0x4C830C) ; +0xc, 0x4c8304 MOV R4, R0 ; +0xe, 0x4c8306 ADD R7, PC; __stack_chk_guard_ptr ; +0x10, 0x4c8308 LDR R7, [R7]; __stack_chk_guard ; +0x12, 0x4c830a SUB SP, SP, #0x6C ; +0x14, 0x4c830c STR R3, [SP,#0x6C+var_58] ; +0x16, 0x4c830e LDR R3, [R7] ; +0x18, 0x4c8310 STR R2, [SP,#0x6C+var_5C] ; +0x1a, 0x4c8312 STR R3, [SP,#0x6C+var_8] ; +0x1c, 0x4c8314 BL _ZN12FLAlertLayer4initEi; FLAlertLayer::init(int) ; +0x1e, 0x4c8316 STR R7, [SP,#0x6C+var_54] ; +0x22, 0x4c831a STR R0, [SP,#0x6C+var_60] ; +0x24, 0x4c831c CMP R0, #0 ; +0x26, 0x4c831e BEQ.W loc_4C8852 ; +0x28, 0x4c8320 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0x4c8324 ADD R5, SP, #0x6C+var_18 ; +0x30, 0x4c8328 VMOV.F32 S16, #0.5 ; +0x32, 0x4c832a MOV R1, R0 ; +0x36, 0x4c832e ADD R0, SP, #0x6C+var_40; this ; +0x38, 0x4c8330 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x3a, 0x4c8332 LDR R3, flt_4C854C; float ; +0x3e, 0x4c8336 MOVS R1, #0; float ; +0x40, 0x4c8338 MOV R0, R5; this ; +0x42, 0x4c833a MOV R2, R1; float ; +0x44, 0x4c833c STR R3, [SP,#0x6C+var_6C]; float ; +0x46, 0x4c833e BL _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x48, 0x4c8340 LDR R0, =(aGjSquare02Png - 0x4C834C); "GJ_square02.png" ; +0x4c, 0x4c8344 MOV R1, R5 ; +0x4e, 0x4c8346 ADD R0, PC; "GJ_square02.png" ; +0x50, 0x4c8348 BL _ZN7cocos2d9extension14CCScale9Sprite6createEPKcNS_6CCRectE; cocos2d::extension::CCScale9Sprite::create(char const*,cocos2d::CCRect) ; +0x52, 0x4c834a LDR R2, flt_4C8550; float ; +0x56, 0x4c834e LDR R1, flt_4C8554; float ; +0x58, 0x4c8350 LDR R3, [R0] ; +0x5a, 0x4c8352 MOV R7, R0 ; +0x5c, 0x4c8354 MOV R0, R5; this ; +0x5e, 0x4c8356 LDR.W R6, [R3,#0x98] ; +0x60, 0x4c8358 BL _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x64, 0x4c835c MOV R0, R7 ; +0x68, 0x4c8360 MOV R1, R5 ; +0x6a, 0x4c8362 BLX R6 ; +0x6c, 0x4c8364 LDR.W R0, [R4,#0x1C8] ; +0x6e, 0x4c8366 MOV R1, R7 ; +0x72, 0x4c836a MOV.W R2, #0xFFFFFFFF ; +0x74, 0x4c836c LDR R3, [R0] ; +0x78, 0x4c8370 LDR.W R3, [R3,#0xE0] ; +0x7a, 0x4c8372 BLX R3 ; +0x7e, 0x4c8376 VLDR S15, [SP,#0x6C+var_40] ; +0x80, 0x4c8378 LDR R3, [R7] ; +0x84, 0x4c837c MOV R0, R5; this ; +0x86, 0x4c837e VMUL.F32 S15, S15, S16 ; +0x88, 0x4c8380 LDR R6, [R3,#0x5C] ; +0x8c, 0x4c8384 VMOV R1, S15; float ; +0x8e, 0x4c8386 VLDR S15, [SP,#0x6C+var_3C] ; +0x92, 0x4c838a VMUL.F32 S15, S15, S16 ; +0x96, 0x4c838e VMOV R2, S15; float ; +0x9a, 0x4c8392 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x9e, 0x4c8396 MOV R1, R5 ; +0xa2, 0x4c839a MOV R0, R7 ; +0xa4, 0x4c839c BLX R6 ; +0xa6, 0x4c839e BL _ZN7cocos2d6CCMenu6createEv; cocos2d::CCMenu::create(void) ; +0xa8, 0x4c83a0 MOVS R2, #0xA ; +0xac, 0x4c83a4 MOV R1, R0 ; +0xae, 0x4c83a6 STR.W R0, [R4,#0x1B8] ; +0xb0, 0x4c83a8 LDR.W R0, [R4,#0x1C8] ; +0xb4, 0x4c83ac LDR R3, [R0] ; +0xb8, 0x4c83b0 LDR.W R3, [R3,#0xE0] ; +0xba, 0x4c83b2 BLX R3 ; +0xbe, 0x4c83b6 LDR R3, [SP,#0x6C+var_5C] ; +0xc0, 0x4c83b8 MOV R0, R5; this ; +0xc2, 0x4c83ba ADD.W R1, R8, R3 ; +0xc4, 0x4c83bc LDR R3, [SP,#0x6C+var_58] ; +0xc8, 0x4c83c0 ADD R1, R3 ; +0xca, 0x4c83c2 LDR R3, [SP,#0x6C+arg_0] ; +0xcc, 0x4c83c4 ADD R1, R3 ; +0xce, 0x4c83c6 LDR R3, [SP,#0x6C+arg_4] ; +0xd0, 0x4c83c8 ADD R1, R3; int ; +0xd2, 0x4c83ca BL _ZN11GameToolbox14pointsToStringEi; GameToolbox::pointsToString(int) ; +0xd4, 0x4c83cc LDR R0, =(aClassicS - 0x4C83D8); "Classic: %s" ; +0xd8, 0x4c83d0 LDR R1, [SP,#0x6C+var_18]; char * ; +0xda, 0x4c83d2 ADD R0, PC; "Classic: %s" ; +0xdc, 0x4c83d4 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0xde, 0x4c83d6 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0xe2, 0x4c83da LDR R1, =(aGoldfontFnt - 0x4C83E4); "goldFont.fnt" ; +0xe6, 0x4c83de ADD R1, PC; "goldFont.fnt" ; +0xe8, 0x4c83e0 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0xea, 0x4c83e2 ADD R5, SP, #0x6C+var_18 ; +0xee, 0x4c83e6 MOV R6, R0 ; +0xf0, 0x4c83e8 MOV R0, R5 ; +0xf2, 0x4c83ea BL sub_774008 ; +0xf4, 0x4c83ec LDR.W R0, [R4,#0x1C8] ; +0xf8, 0x4c83f0 MOV R1, R6 ; +0xfc, 0x4c83f4 LDR R3, [R0] ; +0xfe, 0x4c83f6 LDR.W R3, [R3,#0xDC] ; +0x100, 0x4c83f8 BLX R3 ; +0x104, 0x4c83fc LDR R3, [R6] ; +0x106, 0x4c83fe MOV R0, R6 ; +0x108, 0x4c8400 LDR R1, =0x3F333333 ; +0x10a, 0x4c8402 LDR R3, [R3,#0x50] ; +0x10c, 0x4c8404 BLX R3 ; +0x10e, 0x4c8406 LDR R3, [SP,#0x6C+arg_8] ; +0x110, 0x4c8408 LDR R2, [SP,#0x6C+arg_C] ; +0x112, 0x4c840a MOV R0, R5; this ; +0x114, 0x4c840c ADDS R1, R3, R2 ; +0x116, 0x4c840e LDR R3, [SP,#0x6C+arg_10] ; +0x118, 0x4c8410 ADD R1, R3 ; +0x11a, 0x4c8412 LDR R3, [SP,#0x6C+arg_14] ; +0x11c, 0x4c8414 ADD R1, R3 ; +0x11e, 0x4c8416 LDR R3, [SP,#0x6C+arg_18] ; +0x120, 0x4c8418 ADD R1, R3; int ; +0x122, 0x4c841a BL _ZN11GameToolbox14pointsToStringEi; GameToolbox::pointsToString(int) ; +0x124, 0x4c841c LDR R0, =(aPlatformerS - 0x4C8428); "Platformer: %s" ; +0x128, 0x4c8420 LDR R1, [SP,#0x6C+var_18]; char * ; +0x12a, 0x4c8422 ADD R0, PC; "Platformer: %s" ; +0x12c, 0x4c8424 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x12e, 0x4c8426 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x132, 0x4c842a LDR R1, =(aGoldfontFnt - 0x4C8434); "goldFont.fnt" ; +0x136, 0x4c842e ADD R1, PC; "goldFont.fnt" ; +0x138, 0x4c8430 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x13a, 0x4c8432 ADD R5, SP, #0x6C+var_18 ; +0x13e, 0x4c8436 MOV R7, R0 ; +0x140, 0x4c8438 VLDR S17, =105.0 ; +0x142, 0x4c843a MOV R0, R5 ; +0x146, 0x4c843e BL sub_774008 ; +0x148, 0x4c8440 LDR.W R0, [R4,#0x1C8] ; +0x14c, 0x4c8444 MOV R1, R7 ; +0x150, 0x4c8448 LDR R3, [R0] ; +0x152, 0x4c844a LDR.W R3, [R3,#0xDC] ; +0x154, 0x4c844c BLX R3 ; +0x158, 0x4c8450 LDR R3, [R7] ; +0x15a, 0x4c8452 MOV R0, R7 ; +0x15c, 0x4c8454 LDR R1, =0x3F333333 ; +0x15e, 0x4c8456 LDR R3, [R3,#0x50] ; +0x160, 0x4c8458 BLX R3 ; +0x162, 0x4c845a LDR R3, [R7] ; +0x164, 0x4c845c MOV R0, R7 ; +0x166, 0x4c845e MOVS R1, #0xC8 ; +0x168, 0x4c8460 LDR.W R2, [R3,#0x210] ; +0x16a, 0x4c8462 MOVS R3, #0xFF ; +0x16e, 0x4c8466 STRB.W R1, [SP,#0x6C+var_18+1] ; +0x170, 0x4c8468 MOV R1, R5 ; +0x174, 0x4c846c STRB.W R3, [SP,#0x6C+var_18] ; +0x176, 0x4c846e STRB.W R3, [SP,#0x6C+var_18+2] ; +0x17a, 0x4c8472 BLX R2 ; +0x17e, 0x4c8476 MOV R1, R7; cocos2d::CCObject * ; +0x180, 0x4c8478 MOV R0, R6; this ; +0x182, 0x4c847a MOVS R2, #0 ; +0x184, 0x4c847c BL _ZN7cocos2d7CCArray6createEPNS_8CCObjectEz; cocos2d::CCArray::create(cocos2d::CCObject *,...) ; +0x186, 0x4c847e VLDR S15, [SP,#0x6C+var_3C] ; +0x18a, 0x4c8482 MOVS R7, #0 ; +0x18e, 0x4c8486 VMOV.F32 S14, S17 ; +0x190, 0x4c8488 VMLA.F32 S14, S15, S16 ; +0x194, 0x4c848c VLDR S15, [SP,#0x6C+var_40] ; +0x198, 0x4c8490 VMUL.F32 S15, S15, S16 ; +0x19c, 0x4c8494 MOV R6, R0 ; +0x1a0, 0x4c8498 MOV R0, R5; this ; +0x1a2, 0x4c849a VMOV R1, S15; float ; +0x1a4, 0x4c849c VMOV.F32 S15, #20.0 ; +0x1a8, 0x4c84a0 VSUB.F32 S15, S14, S15 ; +0x1ac, 0x4c84a4 VMOV R2, S15; float ; +0x1b0, 0x4c84a8 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1b4, 0x4c84ac MOVS R3, #0 ; +0x1b8, 0x4c84b0 MOV R0, R6 ; +0x1ba, 0x4c84b2 LDR R1, =0x41F00000 ; +0x1bc, 0x4c84b4 MOV R2, R5 ; +0x1be, 0x4c84b6 BL _ZN11GameToolbox22alignItemsHorisontallyEPN7cocos2d7CCArrayEfNS0_7CCPointEb; GameToolbox::alignItemsHorisontally(cocos2d::CCArray *,float,cocos2d::CCPoint,bool) ; +0x1c0, 0x4c84b8 VLDR S14, [SP,#0x6C+var_40] ; +0x1c4, 0x4c84bc ADD R0, SP, #0x6C+var_38; this ; +0x1c8, 0x4c84c0 VLDR S15, =140.0 ; +0x1ca, 0x4c84c2 VNMLS.F32 S15, S14, S16 ; +0x1ce, 0x4c84c6 VLDR S14, [SP,#0x6C+var_3C] ; +0x1d2, 0x4c84ca VMOV R1, S15; float ; +0x1d6, 0x4c84ce VLDR S15, =35.0 ; +0x1da, 0x4c84d2 VMLA.F32 S15, S14, S16 ; +0x1de, 0x4c84d6 VMOV R2, S15; float ; +0x1e2, 0x4c84da BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1e6, 0x4c84de LDR R3, =(aDifficulty02dB_0 - 0x4C84E8); "difficulty_%02d_btn2_001.png" ; +0x1ea, 0x4c84e2 ADD R3, PC; "difficulty_%02d_btn2_001.png" ; +0x1ec, 0x4c84e4 STR R3, [SP,#0x6C+var_50] ; +0x1ee, 0x4c84e6 LDR R3, =(aGoldfontFnt - 0x4C84EE); "goldFont.fnt" ; +0x1f0, 0x4c84e8 ADD R3, PC; "goldFont.fnt" ; +0x1f2, 0x4c84ea STR R3, [SP,#0x6C+var_4C] ; +0x1f4, 0x4c84ec LDR R3, =(aGoldfontFnt - 0x4C84F4); "goldFont.fnt" ; +0x1f6, 0x4c84ee ADD R3, PC; "goldFont.fnt" ; +0x1f8, 0x4c84f0 STR R3, [SP,#0x6C+var_48] ; +0x1fa, 0x4c84f2 VMOV S15, R7 ; +0x1fc, 0x4c84f4 ADD R5, SP, #0x6C+var_18 ; +0x200, 0x4c84f8 VLDR S14, =70.0 ; +0x202, 0x4c84fa MOVS R2, #0; float ; +0x206, 0x4c84fe MOV R0, R5; this ; +0x208, 0x4c8500 VCVT.F32.S32 S15, S15 ; +0x20a, 0x4c8502 VMUL.F32 S15, S15, S14 ; +0x20e, 0x4c8506 VMOV R1, S15; float ; +0x212, 0x4c850a BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x216, 0x4c850e ADD R0, SP, #0x6C+var_28 ; +0x21a, 0x4c8512 ADD R1, SP, #0x6C+var_38 ; +0x21c, 0x4c8514 MOV R2, R5 ; +0x21e, 0x4c8516 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x220, 0x4c8518 SUBS R3, R7, #1; switch 4 cases ; +0x224, 0x4c851c CMP R3, #3 ; +0x226, 0x4c851e BHI def_4C8522; jumptable 004C8522 default case ; +0x228, 0x4c8520 TBB.W [PC,R3]; switch jump ; +0x22a, 0x4c8522 DCB 0x37; jump table for switch statement ; +0x22e, 0x4c8526 DCB 6 ; +0x22f, 0x4c8527 DCB 0xA ; +0x230, 0x4c8528 DCB 0xE ; +0x231, 0x4c8529 LDR R6, [SP,#0x6C+arg_8]; jumptable 004C8522 default case ; +0x232, 0x4c852a MOV R5, R8 ; +0x234, 0x4c852c MOVS R1, #7 ; +0x236, 0x4c852e B loc_4C859A ; +0x238, 0x4c8530 LDR R6, [SP,#0x6C+arg_10]; jumptable 004C8522 case 2 ; +0x23a, 0x4c8532 MOVS R1, #6 ; +0x23c, 0x4c8534 LDR R5, [SP,#0x6C+var_58] ; +0x23e, 0x4c8536 B loc_4C859A ; +0x240, 0x4c8538 LDR R6, [SP,#0x6C+arg_14]; jumptable 004C8522 case 3 ; +0x242, 0x4c853a MOVS R1, #9 ; +0x244, 0x4c853c LDR R5, [SP,#0x6C+arg_0] ; +0x246, 0x4c853e B loc_4C859A ; +0x248, 0x4c8540 LDR R6, [SP,#0x6C+arg_18]; jumptable 004C8522 case 4 ; +0x24a, 0x4c8542 MOVS R1, #0xA ; +0x24c, 0x4c8544 LDR R5, [SP,#0x6C+arg_4] ; +0x24e, 0x4c8546 B loc_4C859A ; +0x250, 0x4c8548 ALIGN 4 ; +0x252, 0x4c854a DCFS 80.0 ; +0x254, 0x4c854c DCFS 210.0 ; +0x258, 0x4c8550 DCFS 380.0 ; +0x25c, 0x4c8554 DCD 0x3F333333 ; +0x260, 0x4c8558 DCFS 105.0 ; +0x264, 0x4c855c DCD 0x41F00000 ; +0x268, 0x4c8560 DCFS 140.0 ; +0x26c, 0x4c8564 DCFS 35.0 ; +0x270, 0x4c8568 DCFS 70.0 ; +0x274, 0x4c856c DCD __stack_chk_guard_ptr - 0x4C830C ; +0x278, 0x4c8570 DCD aGjSquare02Png - 0x4C834C ; +0x27c, 0x4c8574 DCD aClassicS - 0x4C83D8 ; +0x280, 0x4c8578 DCD aGoldfontFnt - 0x4C83E4 ; +0x284, 0x4c857c DCD aPlatformerS - 0x4C8428 ; +0x288, 0x4c8580 DCD aGoldfontFnt - 0x4C8434 ; +0x28c, 0x4c8584 DCD aDifficulty02dB_0 - 0x4C84E8 ; +0x290, 0x4c8588 DCD aGoldfontFnt - 0x4C84EE ; +0x294, 0x4c858c DCD aGoldfontFnt - 0x4C84F4 ; +0x298, 0x4c8590 LDR R6, [SP,#0x6C+arg_C]; jumptable 004C8522 case 1 ; +0x29c, 0x4c8594 MOVS R1, #byte_8; char * ; +0x29e, 0x4c8596 LDR R5, [SP,#0x6C+var_5C] ; +0x2a0, 0x4c8598 LDR R0, [SP,#0x6C+var_50]; this ; +0x2a2, 0x4c859a BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x2a4, 0x4c859c BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x2a8, 0x4c85a0 ADD R2, SP, #0x6C+var_18 ; +0x2ac, 0x4c85a4 MOV R1, R0; char * ; +0x2ae, 0x4c85a6 ADD R0, SP, #0x6C+var_30; int ; +0x2b0, 0x4c85a8 BL sub_776584 ; +0x2b2, 0x4c85aa LDR R0, [SP,#0x6C+var_30]; this ; +0x2b6, 0x4c85ae BL _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x2b8, 0x4c85b0 LDR R3, [R0] ; +0x2bc, 0x4c85b4 MOV.W R1, #0x3F800000 ; +0x2be, 0x4c85b6 MOV R9, R0 ; +0x2c2, 0x4c85ba LDR R3, [R3,#0x50] ; +0x2c4, 0x4c85bc BLX R3 ; +0x2c6, 0x4c85be LDR.W R3, [R9] ; +0x2c8, 0x4c85c0 MOV R0, R9 ; +0x2cc, 0x4c85c4 ADD R1, SP, #0x6C+var_28 ; +0x2ce, 0x4c85c6 LDR R3, [R3,#0x5C] ; +0x2d0, 0x4c85c8 BLX R3 ; +0x2d2, 0x4c85ca LDR.W R0, [R4,#0x1C8] ; +0x2d4, 0x4c85cc MOV R1, R9 ; +0x2d8, 0x4c85d0 LDR R3, [R0] ; +0x2da, 0x4c85d2 LDR.W R3, [R3,#0xDC] ; +0x2dc, 0x4c85d4 BLX R3 ; +0x2e0, 0x4c85d8 ADD.W R9, SP, #0x6C+var_20 ; +0x2e2, 0x4c85da MOV R1, R5; int ; +0x2e6, 0x4c85de MOV R0, R9; this ; +0x2e8, 0x4c85e0 BL _ZN11GameToolbox14pointsToStringEi; GameToolbox::pointsToString(int) ; +0x2ea, 0x4c85e2 LDR R0, [SP,#0x6C+var_20]; this ; +0x2ee, 0x4c85e6 LDR R1, [SP,#0x6C+var_4C]; char * ; +0x2f0, 0x4c85e8 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x2f2, 0x4c85ea MOV R5, R0 ; +0x2f6, 0x4c85ee ADD R0, SP, #0x6C+var_20 ; +0x2f8, 0x4c85f0 BL sub_774008 ; +0x2fa, 0x4c85f2 LDR R3, [R5] ; +0x2fe, 0x4c85f6 MOV R0, R5 ; +0x300, 0x4c85f8 LDR R1, =0x3F19999A ; +0x302, 0x4c85fa LDR R3, [R3,#0x50] ; +0x304, 0x4c85fc BLX R3 ; +0x306, 0x4c85fe LDR.W R0, [R4,#0x1C8] ; +0x308, 0x4c8600 MOV R1, R5 ; +0x30c, 0x4c8604 LDR R3, [R0] ; +0x30e, 0x4c8606 LDR.W R3, [R3,#0xDC] ; +0x310, 0x4c8608 BLX R3 ; +0x314, 0x4c860c LDR R3, [R5] ; +0x316, 0x4c860e ADD.W R10, SP, #0x6C+var_20 ; +0x318, 0x4c8610 MOVS R1, #0; float ; +0x31c, 0x4c8614 LDR R2, flt_4C8890; float ; +0x31e, 0x4c8616 MOV R0, R10; this ; +0x320, 0x4c8618 LDR.W R11, [R3,#0x5C] ; +0x322, 0x4c861a BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x326, 0x4c861e ADD.W R9, SP, #0x6C+var_18 ; +0x32a, 0x4c8622 ADD R1, SP, #0x6C+var_28 ; +0x32e, 0x4c8626 MOV R2, R10 ; +0x330, 0x4c8628 MOV R0, R9 ; +0x332, 0x4c862a BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x334, 0x4c862c MOV R0, R5 ; +0x338, 0x4c8630 MOV R1, R9 ; +0x33a, 0x4c8632 BLX R11 ; +0x33c, 0x4c8634 ADD.W R9, SP, #0x6C+var_18 ; +0x33e, 0x4c8636 MOV R1, R6; int ; +0x342, 0x4c863a MOV R0, R9; this ; +0x344, 0x4c863c BL _ZN11GameToolbox14pointsToStringEi; GameToolbox::pointsToString(int) ; +0x346, 0x4c863e LDR R0, [SP,#0x6C+var_18]; this ; +0x34a, 0x4c8642 LDR R1, [SP,#0x6C+var_48]; char * ; +0x34c, 0x4c8644 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x34e, 0x4c8646 MOV R6, R0 ; +0x352, 0x4c864a ADD R0, SP, #0x6C+var_18 ; +0x354, 0x4c864c BL sub_774008 ; +0x356, 0x4c864e LDR R3, [R6] ; +0x35a, 0x4c8652 MOV R0, R6 ; +0x35c, 0x4c8654 LDR R1, =0x3F19999A ; +0x35e, 0x4c8656 LDR R3, [R3,#0x50] ; +0x360, 0x4c8658 BLX R3 ; +0x362, 0x4c865a LDR.W R0, [R4,#0x1C8] ; +0x364, 0x4c865c MOV R1, R6 ; +0x368, 0x4c8660 LDR R3, [R0] ; +0x36a, 0x4c8662 LDR.W R3, [R3,#0xDC] ; +0x36c, 0x4c8664 BLX R3 ; +0x370, 0x4c8668 LDR R3, [R6] ; +0x372, 0x4c866a MOV R0, R5 ; +0x374, 0x4c866c LDR.W R10, [R3,#0x5C] ; +0x376, 0x4c866e LDR R3, [R5] ; +0x37a, 0x4c8672 LDR R3, [R3,#0x60] ; +0x37c, 0x4c8674 BLX R3 ; +0x37e, 0x4c8676 ADD.W R9, SP, #0x6C+var_20 ; +0x380, 0x4c8678 MOV R11, R0 ; +0x384, 0x4c867c MOVS R1, #0; float ; +0x386, 0x4c867e LDR R2, flt_4C8894; float ; +0x388, 0x4c8680 MOV R0, R9; this ; +0x38a, 0x4c8682 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x38c, 0x4c8684 ADD R5, SP, #0x6C+var_18 ; +0x390, 0x4c8688 MOV R1, R11 ; +0x392, 0x4c868a MOV R2, R9 ; +0x394, 0x4c868c MOV R0, R5 ; +0x396, 0x4c868e BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x398, 0x4c8690 MOV R0, R6 ; +0x39c, 0x4c8694 MOV R1, R5 ; +0x39e, 0x4c8696 BLX R10 ; +0x3a0, 0x4c8698 LDR R3, [R6] ; +0x3a2, 0x4c869a ADD.W R9, SP, #0x6C+var_18 ; +0x3a4, 0x4c869c MOVS R1, #0xC8 ; +0x3a8, 0x4c86a0 MOV R0, R6 ; +0x3aa, 0x4c86a2 LDR.W R2, [R3,#0x210] ; +0x3ac, 0x4c86a4 MOVS R3, #0xFF ; +0x3b0, 0x4c86a8 STRB.W R1, [SP,#0x6C+var_18+1] ; +0x3b2, 0x4c86aa MOV R1, R9 ; +0x3b6, 0x4c86ae STRB.W R3, [SP,#0x6C+var_18] ; +0x3b8, 0x4c86b0 STRB.W R3, [SP,#0x6C+var_18+2] ; +0x3bc, 0x4c86b4 BLX R2 ; +0x3c0, 0x4c86b8 ADD R6, SP, #0x6C+var_30 ; +0x3c2, 0x4c86ba ADDS R7, #1 ; +0x3c4, 0x4c86bc MOV R0, R6 ; +0x3c6, 0x4c86be BL sub_774008 ; +0x3c8, 0x4c86c0 CMP R7, #5 ; +0x3cc, 0x4c86c4 BNE.W loc_4C84F4 ; +0x3ce, 0x4c86c6 VLDR S14, [SP,#0x6C+var_40] ; +0x3d2, 0x4c86ca MOV R0, R6; this ; +0x3d6, 0x4c86ce VLDR S15, =190.0 ; +0x3d8, 0x4c86d0 VMOV.F32 S13, S17 ; +0x3dc, 0x4c86d4 VMLA.F32 S15, S14, S16 ; +0x3e0, 0x4c86d8 VLDR S14, [SP,#0x6C+var_3C] ; +0x3e4, 0x4c86dc VNMLS.F32 S13, S14, S16 ; +0x3e8, 0x4c86e0 VMOV.F32 S14, S13 ; +0x3ec, 0x4c86e4 VMOV.F32 S13, #12.0 ; +0x3f0, 0x4c86e8 VSUB.F32 S15, S15, S13 ; +0x3f4, 0x4c86ec VMOV R1, S15; float ; +0x3f8, 0x4c86f0 VMOV.F32 S15, #14.0 ; +0x3fc, 0x4c86f4 VADD.F32 S15, S14, S15 ; +0x400, 0x4c86f8 VMOV R2, S15; float ; +0x404, 0x4c86fc BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x408, 0x4c8700 LDR R3, [SP,#0x6C+arg_20] ; +0x40c, 0x4c8704 CMP R3, #0 ; +0x40e, 0x4c8706 BLE loc_4C877A ; +0x410, 0x4c8708 MOV R0, R9; this ; +0x412, 0x4c870a MOV R1, R3; int ; +0x414, 0x4c870c BL _ZN11GameToolbox14pointsToStringEi; GameToolbox::pointsToString(int) ; +0x416, 0x4c870e LDR R0, =(aGauntletS - 0x4C871A); "Gauntlet: %s" ; +0x41a, 0x4c8712 LDR R1, [SP,#0x6C+var_18]; char * ; +0x41c, 0x4c8714 ADD R0, PC; "Gauntlet: %s" ; +0x41e, 0x4c8716 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x420, 0x4c8718 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x424, 0x4c871c LDR R1, =(aGoldfontFnt - 0x4C8726); "goldFont.fnt" ; +0x428, 0x4c8720 ADD R1, PC; "goldFont.fnt" ; +0x42a, 0x4c8722 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x42c, 0x4c8724 MOV R7, R0 ; +0x430, 0x4c8728 MOV R0, R5 ; +0x432, 0x4c872a BL sub_774008 ; +0x434, 0x4c872c LDR.W R0, [R4,#0x1C8] ; +0x438, 0x4c8730 MOV R1, R7 ; +0x43c, 0x4c8734 LDR R3, [R0] ; +0x43e, 0x4c8736 LDR.W R3, [R3,#0xDC] ; +0x440, 0x4c8738 BLX R3 ; +0x444, 0x4c873c LDR R3, [R7] ; +0x446, 0x4c873e MOV R0, R7 ; +0x448, 0x4c8740 LDR R1, =0x3ECCCCCD ; +0x44a, 0x4c8742 LDR R3, [R3,#0x50] ; +0x44c, 0x4c8744 BLX R3 ; +0x44e, 0x4c8746 LDR R3, [R7] ; +0x450, 0x4c8748 MOVS R2, #0; float ; +0x452, 0x4c874a MOV.W R1, #0x3F800000; float ; +0x454, 0x4c874c MOV R0, R5; this ; +0x458, 0x4c8750 LDR.W R10, [R3,#0x8C] ; +0x45a, 0x4c8752 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x45e, 0x4c8756 MOV R0, R7 ; +0x462, 0x4c875a MOV R1, R5 ; +0x464, 0x4c875c BLX R10 ; +0x466, 0x4c875e LDR R3, [R7] ; +0x468, 0x4c8760 MOV R0, R7 ; +0x46a, 0x4c8762 MOV R1, R6 ; +0x46c, 0x4c8764 LDR R3, [R3,#0x5C] ; +0x46e, 0x4c8766 BLX R3 ; +0x470, 0x4c8768 VMOV.F32 S14, #16.0 ; +0x472, 0x4c876a VLDR S15, [SP,#0x6C+var_2C] ; +0x476, 0x4c876e VADD.F32 S15, S15, S14 ; +0x47a, 0x4c8772 VSTR S15, [SP,#0x6C+var_2C] ; +0x47e, 0x4c8776 LDR R3, [SP,#0x6C+arg_1C] ; +0x482, 0x4c877a CMP R3, #0 ; +0x484, 0x4c877c BLE loc_4C87E0 ; +0x486, 0x4c877e MOV R0, R9; this ; +0x488, 0x4c8780 MOV R1, R3; int ; +0x48a, 0x4c8782 BL _ZN11GameToolbox14pointsToStringEi; GameToolbox::pointsToString(int) ; +0x48c, 0x4c8784 LDR R0, =(aWeeklyS - 0x4C8790); "Weekly: %s" ; +0x490, 0x4c8788 LDR R1, [SP,#0x6C+var_18]; char * ; +0x492, 0x4c878a ADD R0, PC; "Weekly: %s" ; +0x494, 0x4c878c BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x496, 0x4c878e BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x49a, 0x4c8792 LDR R1, =(aGoldfontFnt - 0x4C879C); "goldFont.fnt" ; +0x49e, 0x4c8796 ADD R1, PC; "goldFont.fnt" ; +0x4a0, 0x4c8798 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x4a2, 0x4c879a MOV R7, R0 ; +0x4a6, 0x4c879e MOV R0, R5 ; +0x4a8, 0x4c87a0 BL sub_774008 ; +0x4aa, 0x4c87a2 LDR.W R0, [R4,#0x1C8] ; +0x4ae, 0x4c87a6 MOV R1, R7 ; +0x4b2, 0x4c87aa LDR R3, [R0] ; +0x4b4, 0x4c87ac LDR.W R3, [R3,#0xDC] ; +0x4b6, 0x4c87ae BLX R3 ; +0x4ba, 0x4c87b2 LDR R3, [R7] ; +0x4bc, 0x4c87b4 MOV R0, R7 ; +0x4be, 0x4c87b6 LDR R1, =0x3ECCCCCD ; +0x4c0, 0x4c87b8 LDR R3, [R3,#0x50] ; +0x4c2, 0x4c87ba BLX R3 ; +0x4c4, 0x4c87bc LDR R3, [R7] ; +0x4c6, 0x4c87be MOV.W R1, #0x3F800000; float ; +0x4c8, 0x4c87c0 MOVS R2, #0; float ; +0x4cc, 0x4c87c4 MOV R0, R5; this ; +0x4ce, 0x4c87c6 LDR.W R9, [R3,#0x8C] ; +0x4d0, 0x4c87c8 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x4d4, 0x4c87cc MOV R0, R7 ; +0x4d8, 0x4c87d0 MOV R1, R5 ; +0x4da, 0x4c87d2 BLX R9 ; +0x4dc, 0x4c87d4 LDR R3, [R7] ; +0x4de, 0x4c87d6 MOV R0, R7 ; +0x4e0, 0x4c87d8 MOV R1, R6 ; +0x4e2, 0x4c87da LDR R3, [R3,#0x5C] ; +0x4e4, 0x4c87dc BLX R3 ; +0x4e6, 0x4c87de LDR R0, =(aOk - 0x4C87E8); "OK" ; +0x4e8, 0x4c87e0 ADD R6, SP, #0x6C+var_20 ; +0x4ea, 0x4c87e2 ADD R0, PC; "OK" ; +0x4ec, 0x4c87e4 BL _ZN12ButtonSprite6createEPKc; ButtonSprite::create(char const*) ; +0x4ee, 0x4c87e6 LDR R3, =(_ZN14DemonInfoPopup7onCloseEPN7cocos2d8CCObjectE_ptr - 0x4C87F4) ; +0x4f2, 0x4c87ea MOVS R1, #0 ; +0x4f4, 0x4c87ec MOV R2, R4 ; +0x4f6, 0x4c87ee ADD R3, PC; _ZN14DemonInfoPopup7onCloseEPN7cocos2d8CCObjectE_ptr ; +0x4f8, 0x4c87f0 LDR R3, [R3]; DemonInfoPopup::onClose(cocos2d::CCObject *) ; +0x4fa, 0x4c87f2 STR R1, [SP,#0x6C+var_6C] ; +0x4fc, 0x4c87f4 STR R3, [SP,#0x6C+var_18] ; +0x4fe, 0x4c87f6 STR R1, [SP,#0x6C+var_14] ; +0x500, 0x4c87f8 BL _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x502, 0x4c87fa MOV R5, R0 ; +0x506, 0x4c87fe LDR.W R0, [R4,#0x1B8] ; +0x508, 0x4c8800 MOV R1, R5 ; +0x50c, 0x4c8804 LDR R3, [R0] ; +0x50e, 0x4c8806 LDR.W R3, [R3,#0xDC] ; +0x510, 0x4c8808 BLX R3 ; +0x514, 0x4c880c VMOV.F32 S15, #0.5 ; +0x516, 0x4c880e VLDR S14, [SP,#0x6C+var_3C] ; +0x51a, 0x4c8812 LDR R3, [R5] ; +0x51e, 0x4c8816 LDR.W R9, [R4,#0x1B8] ; +0x520, 0x4c8818 ADD R4, SP, #0x6C+var_28 ; +0x524, 0x4c881c MOV R0, R4; this ; +0x526, 0x4c881e LDR R7, [R3,#0x5C] ; +0x528, 0x4c8820 VNMLS.F32 S17, S14, S15 ; +0x52a, 0x4c8822 VLDR S14, [SP,#0x6C+var_40] ; +0x52e, 0x4c8826 VMUL.F32 S15, S14, S15 ; +0x532, 0x4c882a VMOV R1, S15; float ; +0x536, 0x4c882e VMOV.F32 S15, #25.0 ; +0x53a, 0x4c8832 VADD.F32 S15, S17, S15 ; +0x53e, 0x4c8836 VMOV R2, S15; float ; +0x542, 0x4c883a BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x546, 0x4c883e MOV R0, R6; this ; +0x54a, 0x4c8842 MOV R1, R9; cocos2d::CCPoint * ; +0x54c, 0x4c8844 MOV R2, R4 ; +0x54e, 0x4c8846 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x550, 0x4c8848 MOV R0, R5 ; +0x554, 0x4c884c MOV R1, R6 ; +0x556, 0x4c884e BLX R7 ; +0x558, 0x4c8850 LDR R3, [SP,#0x6C+var_54] ; +0x55a, 0x4c8852 LDR R2, [SP,#0x6C+var_8] ; +0x55c, 0x4c8854 LDR R0, [SP,#0x6C+var_60] ; +0x55e, 0x4c8856 LDR R3, [R3] ; +0x560, 0x4c8858 CMP R2, R3 ; +0x562, 0x4c885a BEQ loc_4C8882 ; +0x564, 0x4c885c BLX __stack_chk_fail ; +0x566, 0x4c885e B loc_4C8864 ; +0x56a, 0x4c8862 MOV R0, R5 ; +0x56c, 0x4c8864 BL sub_774008 ; +0x56e, 0x4c8866 BL __cxa_end_cleanup ; +0x572, 0x4c886a B loc_4C8870 ; +0x576, 0x4c886e MOV R0, R9 ; +0x578, 0x4c8870 BL sub_774008 ; +0x57a, 0x4c8872 B loc_4C8878 ; +0x57e, 0x4c8876 ADD R0, SP, #0x6C+var_30 ; +0x580, 0x4c8878 B loc_4C8866 ; +0x582, 0x4c887a B loc_4C887E ; +0x584, 0x4c887c MOV R0, R9 ; +0x586, 0x4c887e B loc_4C8866 ; +0x588, 0x4c8880 ADD SP, SP, #0x6C ; 'l' ; +0x58a, 0x4c8882 VPOP {D8} ; +0x58c, 0x4c8884 POP.W {R4-R11,PC} ; +0x590, 0x4c8888