// // sub_100086000 from 0x100086000 to 0x1000861c4 (452 bytes) // // 1 xrefs: // > CreateGuidelinesLayer::recordingDidStop @ 0x100085e38 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 10:58:19 +0000 // __int64 __usercall sub_100086000@(__int64 a1@, __int64 a2@, __int64 a3@, std::string *a4@) { __int64 v7; // x22 __int64 v8; // x23 int v9; // w25 __int64 v10; // x20 float v11; // s8 __int64 v12; // x0 unsigned int v13; // w0 float v14; // s0 __int64 v15; // x0 float v16; // s1 __int64 v17; // x24 __int64 v18; // x0 __int64 v19; // x0 __int64 i; // x21 __int64 result; // x0 __int64 v22; // x0 float v23; // s0 __int64 v24; // x0 const std::string::value_type *CString; // x0 v7 = sub_1000861E4(a2); v8 = sub_1000861E4(a3); v9 = -1; v10 = sub_1002E736C(v8); while ( 1 ) { v11 = 10000000.0; if ( (unsigned int)sub_1002E757C(v7) >= 2 ) { v12 = cocos2d::CCArray::stringAtIndex(v7, 0); v11 = cocos2d::CCString::floatValue(v12); } v13 = sub_1002E757C(v8); v14 = 10000000.0; if ( v13 >= 2 ) { v15 = cocos2d::CCArray::stringAtIndex(v8, 0); v14 = cocos2d::CCString::floatValue(v15); } v16 = v11 <= v14 ? v11 : v14; if ( v16 == 10000000.0 ) break; v17 = v7; if ( v16 != v11 ) { v17 = v8; if ( v16 != v14 ) break; } v18 = sub_1002E75A0(v17, 0); sub_1002E74E0(v10, v18); v19 = sub_1002E75A0(v17, 1); sub_1002E74E0(v10, v19); sub_1002E7664(v17, 0, 1); sub_1002E7664(v17, 0, 1); if ( (unsigned int)++v9 >= 0x3E8 ) { (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 704) + 928LL))( *(_QWORD *)(a1 + 704), "Maximum limit exceeded"); break; } } sub_100009900(a4, ""); for ( i = 0; ; i = (unsigned int)(i + 2) ) { result = sub_1002E757C(v10); if ( (unsigned int)i >= (unsigned int)result ) break; v22 = cocos2d::CCArray::stringAtIndex(v10, i); v23 = cocos2d::CCString::floatValue(v22); v24 = sub_1003065B0("%0.2f~0~", v23); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v24); std::string::append(a4, CString); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source