// // GJHttpResult::create from 0x718d64 to 0x718f84 (544 bytes) // // 5 xrefs: // > GameLevelManager::handleItDelayed @ 0x718fe8 // > MusicDownloadManager::handleItDelayed @ 0x82904c // > GJAccountManager::handleItDelayed @ 0x8452c4 // > GJMultiplayerManager::handleItDelayed @ 0x981484 // > @ 0x63a68 // // 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 // __int64 __fastcall GJHttpResult::create(char a1, __int64 a2, __int64 a3, int a4) { __int64 v6; // x19 _BOOL4 v7; // w22 void *v8; // x0 void *v9; // x0 __int64 v10; // x1 __int64 v11; // x0 unsigned int *v13; // x2 int v14; // w1 unsigned int *v15; // x1 int v16; // w2 __int64 v17; // [xsp+58h] [xbp+58h] BYREF __int64 v18; // [xsp+60h] [xbp+60h] BYREF v6 = operator new(0x158u); cocos2d::CCNode::CCNode((cocos2d::CCNode *)v6); *(_BYTE *)(v6 + 314) = 0; *(_QWORD *)v6 = &off_115FBF0; *(_DWORD *)(v6 + 336) = 0; *(_QWORD *)(v6 + 320) = &byte_124B6C8; *(_QWORD *)(v6 + 328) = &byte_124B6C8; sub_D18D28(&v17); sub_D18D28(&v18); v7 = GJHttpResult::init(v6, a1, (__int64)&v17, (__int64)&v18, a4); v8 = (void *)(v18 - 24); if ( (__int64 *)(v18 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v15 = (unsigned int *)(v18 - 8); do v16 = __ldaxr(v15); while ( __stlxr(v16 - 1, v15) ); } else { v16 = *(_DWORD *)(v18 - 8); *(_DWORD *)(v18 - 8) = v16 - 1; } if ( v16 <= 0 ) operator delete(v8); } v9 = (void *)(v17 - 24); if ( (__int64 *)(v17 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v13 = (unsigned int *)(v17 - 8); do v14 = __ldaxr(v13); while ( __stlxr(v14 - 1, v13) ); } else { v14 = *(_DWORD *)(v17 - 8); *(_DWORD *)(v17 - 8) = v14 - 1; } if ( v14 <= 0 ) operator delete(v9); } if ( v7 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6); } else { v10 = *(_QWORD *)v6; v11 = v6; v6 = 0; (*(void (__fastcall **)(__int64))(v10 + 16))(v11); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source