// // sub_10037E16C from 0x10037e16c to 0x10037e220 (180 bytes) // // 3 xrefs: // > UILayer::showTextAlert @ 0x100051468 // > EditorUI::showTextAlert @ 0x100163bac // > EditorUI::toggleViewOption @ 0x1001896b4 // // 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 11:03:29 +0000 // __int64 __fastcall sub_10037E16C(__int64 result, float *a2, float *a3) { float *v5; // x19 __int64 v6; // x0 float v7; // s0 float v8; // s1 float v9; // [xsp+0h] [xbp-30h] BYREF __int64 v10; // [xsp+8h] [xbp-28h] BYREF if ( *(_QWORD *)(result + 328) ) { v5 = (float *)result; v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v6, &v10); v7 = (float)(*a2 * *(float *)&v10) + v5[79] * 0.5 + *a3; v8 = (float)(a2[1] * *((float *)&v10 + 1)) + v5[80] * 0.5 + a3[1]; sub_1000262BC(&v9, v7, v8); return (*(__int64 (__fastcall **)(float *, float *))(*(_QWORD *)v5 + 184LL))(v5, &v9); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source