; ; ConfigureValuePopup::addInfoAlertButton from 0x4cf83c to 0x4cf912 (214 bytes) ; ; 1 xrefs: ; > SetGroupIDLayer::onGroupIDOptions @ 0x50885e ; ; 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-R9,LR} ; +0x0, 0x4cf83c SUB SP, SP, #0x24 ; +0x4, 0x4cf840 LDR R7, =(__stack_chk_guard_ptr - 0x4CF84E) ; +0x6, 0x4cf842 MOV R5, R1 ; +0x8, 0x4cf844 MOV R6, R2 ; +0xa, 0x4cf846 MOV R8, R0 ; +0xc, 0x4cf848 ADD R7, PC; __stack_chk_guard_ptr ; +0xe, 0x4cf84a LDR R7, [R7]; __stack_chk_guard ; +0x10, 0x4cf84c ADD R4, SP, #0x24+var_18 ; +0x12, 0x4cf84e LDR R3, [R7] ; +0x14, 0x4cf850 STR R3, [SP,#0x24+var_8] ; +0x16, 0x4cf852 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x4cf854 MOV R1, R0 ; +0x1c, 0x4cf858 ADD R0, SP, #0x24+var_20; this ; +0x1e, 0x4cf85a BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x20, 0x4cf85c MOV R1, R5 ; +0x24, 0x4cf860 ADD R5, SP, #0x24+var_10 ; +0x26, 0x4cf862 MOV R0, R4 ; +0x28, 0x4cf864 BL sub_775C20 ; +0x2a, 0x4cf866 MOV R1, R6 ; +0x2e, 0x4cf86a MOV R0, R5 ; +0x30, 0x4cf86c BL sub_775C20 ; +0x32, 0x4cf86e MOV R0, R4 ; +0x36, 0x4cf872 MOV R1, R5 ; +0x38, 0x4cf874 LDR R2, =0x3F4CCCCD ; +0x3a, 0x4cf876 BL _ZN15InfoAlertButton6createESsSsf; InfoAlertButton::create(std::string,std::string,float) ; +0x3c, 0x4cf878 MOV R6, R0 ; +0x40, 0x4cf87c MOV R0, R5 ; +0x42, 0x4cf87e BL sub_774008 ; +0x44, 0x4cf880 MOV R0, R4 ; +0x48, 0x4cf884 BL sub_774008 ; +0x4a, 0x4cf886 LDR.W R0, [R8,#0x1B8] ; +0x4e, 0x4cf88a LDR R3, =0x3F666666 ; +0x52, 0x4cf88e MOV R1, R6 ; +0x54, 0x4cf890 STR.W R3, [R6,#0x17C] ; +0x56, 0x4cf892 LDR R3, [R0] ; +0x5a, 0x4cf896 LDR.W R3, [R3,#0xDC] ; +0x5c, 0x4cf898 BLX R3 ; +0x60, 0x4cf89c VMOV.F32 S12, #0.5 ; +0x62, 0x4cf89e VLDR S15, [SP,#0x24+var_20] ; +0x66, 0x4cf8a2 MOV R0, R4; this ; +0x6a, 0x4cf8a6 LDR R3, [R6] ; +0x6c, 0x4cf8a8 LDR.W R8, [R8,#0x1B8] ; +0x6e, 0x4cf8aa VLDR S14, =130.0 ; +0x72, 0x4cf8ae LDR.W R9, [R3,#0x5C] ; +0x76, 0x4cf8b2 VLDR S11, [SP,#0x24+var_1C] ; +0x7a, 0x4cf8b6 VMLA.F32 S14, S15, S12 ; +0x7e, 0x4cf8ba VLDR S15, =100.0 ; +0x82, 0x4cf8be VMLA.F32 S15, S11, S12 ; +0x86, 0x4cf8c2 VMOV.F32 S13, #17.0 ; +0x8a, 0x4cf8c6 VSUB.F32 S14, S14, S13 ; +0x8e, 0x4cf8ca VSUB.F32 S15, S15, S13 ; +0x92, 0x4cf8ce VMOV R1, S14; float ; +0x96, 0x4cf8d2 VMOV R2, S15; float ; +0x9a, 0x4cf8d6 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x9e, 0x4cf8da MOV R2, R4 ; +0xa2, 0x4cf8de MOV R0, R5; this ; +0xa4, 0x4cf8e0 MOV R1, R8; cocos2d::CCPoint * ; +0xa6, 0x4cf8e2 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0xa8, 0x4cf8e4 MOV R0, R6 ; +0xac, 0x4cf8e8 MOV R1, R5 ; +0xae, 0x4cf8ea BLX R9 ; +0xb0, 0x4cf8ec LDR R2, [SP,#0x24+var_8] ; +0xb2, 0x4cf8ee LDR R3, [R7] ; +0xb4, 0x4cf8f0 CMP R2, R3 ; +0xb6, 0x4cf8f2 BEQ loc_4CF90C ; +0xb8, 0x4cf8f4 BLX __stack_chk_fail ; +0xba, 0x4cf8f6 MOV R0, R5 ; +0xbe, 0x4cf8fa BL sub_774008 ; +0xc0, 0x4cf8fc B loc_4CF902 ; +0xc4, 0x4cf900 MOV R0, R4 ; +0xc6, 0x4cf902 BL sub_774008 ; +0xc8, 0x4cf904 BL __cxa_end_cleanup ; +0xcc, 0x4cf908 ADD SP, SP, #0x24 ; '$' ; +0xd0, 0x4cf90c POP.W {R4-R9,PC} ; +0xd2, 0x4cf90e