; ; CreateGuidelinesLayer::getMergedRecordString from 0x308a30 to 0x308bae (382 bytes) ; ; 1 xrefs: ; > CreateGuidelinesLayer::recordingDidStop @ 0x308c72 ; ; 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, 0x308a30 MOV R5, R3 ; +0x4, 0x308a34 LDR R4, =(__stack_chk_guard_ptr - 0x308A44) ; +0x6, 0x308a36 MOV R6, R0 ; +0x8, 0x308a38 VPUSH {D8} ; +0xa, 0x308a3a MOV R0, R2 ; +0xe, 0x308a3e ADD R4, PC; __stack_chk_guard_ptr ; +0x10, 0x308a40 LDR R4, [R4]; __stack_chk_guard ; +0x12, 0x308a42 MOV R11, R1 ; +0x14, 0x308a44 MOV.W R10, #0 ; +0x16, 0x308a46 LDR R3, [R4] ; +0x1a, 0x308a4a SUB SP, SP, #0xC ; +0x1c, 0x308a4c VLDR S17, =1.0e7 ; +0x1e, 0x308a4e STR R3, [SP,#0xC+var_8] ; +0x22, 0x308a52 BL sub_3088BC ; +0x24, 0x308a54 MOV R8, R0 ; +0x28, 0x308a58 MOV R0, R5 ; +0x2a, 0x308a5a BL sub_3088BC ; +0x2c, 0x308a5c MOV R9, R0 ; +0x30, 0x308a60 BL _ZN7cocos2d7CCArray6createEv; cocos2d::CCArray::create(void) ; +0x32, 0x308a62 MOV R7, R0 ; +0x36, 0x308a66 MOV R0, R8; this ; +0x38, 0x308a68 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3a, 0x308a6a CMP R0, #1 ; +0x3e, 0x308a6e BLS loc_308A84 ; +0x40, 0x308a70 MOVS R1, #0; unsigned int ; +0x42, 0x308a72 MOV R0, R8; this ; +0x44, 0x308a74 BL _ZN7cocos2d7CCArray13stringAtIndexEj; cocos2d::CCArray::stringAtIndex(uint) ; +0x46, 0x308a76 BL _ZNK7cocos2d8CCString10floatValueEv; cocos2d::CCString::floatValue(void) ; +0x4a, 0x308a7a VMOV S16, R0 ; +0x4e, 0x308a7e B loc_308A88 ; +0x52, 0x308a82 VLDR S16, =1.0e7 ; +0x54, 0x308a84 MOV R0, R9; this ; +0x58, 0x308a88 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5a, 0x308a8a CMP R0, #1 ; +0x5e, 0x308a8e BLS loc_308AAE ; +0x60, 0x308a90 MOVS R1, #0; unsigned int ; +0x62, 0x308a92 MOV R0, R9; this ; +0x64, 0x308a94 BL _ZN7cocos2d7CCArray13stringAtIndexEj; cocos2d::CCArray::stringAtIndex(uint) ; +0x66, 0x308a96 BL _ZNK7cocos2d8CCString10floatValueEv; cocos2d::CCString::floatValue(void) ; +0x6a, 0x308a9a VMOV S15, R0 ; +0x6e, 0x308a9e VCMPE.F32 S16, S15 ; +0x72, 0x308aa2 VMRS APSR_nzcv, FPSCR ; +0x76, 0x308aa6 BGT loc_308AC6 ; +0x7a, 0x308aaa B loc_308ABC ; +0x7c, 0x308aac VCMPE.F32 S16, S17 ; +0x7e, 0x308aae VMRS APSR_nzcv, FPSCR ; +0x82, 0x308ab2 BGT loc_308B3C ; +0x86, 0x308ab6 VLDR S15, =1.0e7 ; +0x88, 0x308ab8 VMOV.F32 S14, S15 ; +0x8c, 0x308abc VMOV.F32 S15, S16 ; +0x90, 0x308ac0 B loc_308ACA ; +0x94, 0x308ac4 VMOV S14, R0 ; +0x96, 0x308ac6 VCMP.F32 S15, S17 ; +0x9a, 0x308aca VMRS APSR_nzcv, FPSCR ; +0x9e, 0x308ace BEQ loc_308B3C ; +0xa2, 0x308ad2 VCMP.F32 S15, S16 ; +0xa4, 0x308ad4 VMRS APSR_nzcv, FPSCR ; +0xa8, 0x308ad8 BEQ loc_308AEA ; +0xac, 0x308adc VCMP.F32 S15, S14 ; +0xae, 0x308ade VMRS APSR_nzcv, FPSCR ; +0xb2, 0x308ae2 BEQ loc_308B92 ; +0xb6, 0x308ae6 B loc_308B3C ; +0xb8, 0x308ae8 MOV R5, R8 ; +0xba, 0x308aea MOVS R1, #0; unsigned int ; +0xbc, 0x308aec MOV R0, R5; this ; +0xbe, 0x308aee BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xc0, 0x308af0 ADD.W R10, R10, #1 ; +0xc4, 0x308af4 MOV R1, R0; cocos2d::CCObject * ; +0xc8, 0x308af8 MOV R0, R7; this ; +0xca, 0x308afa BL _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0xcc, 0x308afc MOVS R1, #1; unsigned int ; +0xd0, 0x308b00 MOV R0, R5; this ; +0xd2, 0x308b02 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0xd4, 0x308b04 MOV R1, R0; cocos2d::CCObject * ; +0xd8, 0x308b08 MOV R0, R7; this ; +0xda, 0x308b0a BL _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0xdc, 0x308b0c MOV R0, R5; this ; +0xe0, 0x308b10 MOVS R1, #0; unsigned int ; +0xe2, 0x308b12 MOVS R2, #1; bool ; +0xe4, 0x308b14 BL _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0xe6, 0x308b16 MOV R0, R5; this ; +0xea, 0x308b1a MOVS R1, #0; unsigned int ; +0xec, 0x308b1c MOVS R2, #1; bool ; +0xee, 0x308b1e BL _ZN7cocos2d7CCArray19removeObjectAtIndexEjb; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0xf0, 0x308b20 MOVW R3, #0x3E9 ; +0xf4, 0x308b24 CMP R10, R3 ; +0xf8, 0x308b28 BNE loc_308A68 ; +0xfa, 0x308b2a LDR.W R0, [R11,#0x204] ; +0xfc, 0x308b2c LDR R1, =(aMaximumLimitEx - 0x308B38); "Maximum limit exceeded" ; +0x100, 0x308b30 LDR R3, [R0] ; +0x102, 0x308b32 ADD R1, PC; "Maximum limit exceeded" ; +0x104, 0x308b34 LDR.W R3, [R3,#0x1C8] ; +0x106, 0x308b36 BLX R3 ; +0x10a, 0x308b3a LDR R1, =(unk_939830 - 0x308B4A) ; +0x10c, 0x308b3c MOV R0, R6; int ; +0x10e, 0x308b3e MOV R2, SP ; +0x110, 0x308b40 LDR.W R8, =(a02f0 - 0x308B52); "%0.2f~0~" ; +0x112, 0x308b42 ADD R1, PC; unk_939830 ; char * ; +0x116, 0x308b46 MOVS R5, #0 ; +0x118, 0x308b48 BL sub_776584 ; +0x11a, 0x308b4a ADD R8, PC; "%0.2f~0~" ; +0x11e, 0x308b4e MOV R0, R7; this ; +0x120, 0x308b50 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x122, 0x308b52 CMP R5, R0 ; +0x126, 0x308b56 BCS loc_308B96 ; +0x128, 0x308b58 MOV R0, R7; this ; +0x12a, 0x308b5a MOV R1, R5; unsigned int ; +0x12c, 0x308b5c BL _ZN7cocos2d7CCArray13stringAtIndexEj; cocos2d::CCArray::stringAtIndex(uint) ; +0x12e, 0x308b5e BL _ZNK7cocos2d8CCString10floatValueEv; cocos2d::CCString::floatValue(void) ; +0x132, 0x308b62 VMOV S15, R0 ; +0x136, 0x308b66 MOV R0, R8; this ; +0x13a, 0x308b6a VCVT.F64.F32 D7, S15 ; +0x13c, 0x308b6c VMOV R2, R3, D7 ; +0x140, 0x308b70 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x144, 0x308b74 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x148, 0x308b78 MOV R1, R0; char * ; +0x14c, 0x308b7c MOV R0, R6; int ; +0x14e, 0x308b7e BL sub_774544 ; +0x150, 0x308b80 ADDS R5, #2 ; +0x154, 0x308b84 B loc_308B50 ; +0x156, 0x308b86 MOV R0, R6 ; +0x158, 0x308b88 BL sub_774008 ; +0x15a, 0x308b8a BL __cxa_end_cleanup ; +0x15e, 0x308b8e MOV R5, R9 ; +0x162, 0x308b92 B loc_308AEC ; +0x164, 0x308b94 LDR R2, [SP,#0xC+var_8] ; +0x166, 0x308b96 MOV R0, R6 ; +0x168, 0x308b98 LDR R3, [R4] ; +0x16a, 0x308b9a CMP R2, R3 ; +0x16c, 0x308b9c BEQ loc_308BA4 ; +0x16e, 0x308b9e BLX __stack_chk_fail ; +0x170, 0x308ba0 ADD SP, SP, #0xC ; +0x174, 0x308ba4 VPOP {D8} ; +0x176, 0x308ba6 POP.W {R4-R11,PC} ; +0x17a, 0x308baa