{"type": "func", "start": 5370321856, "end": 5370321987, "name": "GameManager::update", "pseudocode": "// \n// GameManager::update from 0x140189bc0 to 0x140189c43 (131 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14055caa8\n// > <???> @ 0x1406cb694\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nvoid GameManager::update(GameManager *a1, float a2)\n{\n  __int64 v3; // rcx\n  __int64 v4; // rdx\n  __int64 v5; // rcx\n  cocos2d::CCApplication *v6; // rax\n  FMODAudioEngine *v7; // [rsp+40h] [rbp+8h]\n\n  v3 = qword_1406C2E88;\n  if ( !qword_1406C2E88 )\n  {\n    v7 = (FMODAudioEngine *)operator new(0x888u);\n    qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v7);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88);\n    v3 = qword_1406C2E88;\n  }\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 32LL))(v3);\n  if ( !a1->m_disableThumbstick )\n  {\n    v6 = (cocos2d::CCApplication *)cocos2d::CCApplication::sharedApplication(v5, v4);\n    cocos2d::CCApplication::updateMouseControl(v6);\n  }\n  sub_140077F10(v5);\n  SteamAPI_RunCallbacks();\n}", "assembly": "; \n; GameManager::update from 0x140189bc0 to 0x140189c43 (131 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14055caa8\n; > <???> @ 0x1406cb694\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x140189bc0\nsub     rsp, 30h                                                       ; +0x2, 0x140189bc2\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0x6, 0x140189bc6\nmovaps  xmm6, xmm1                                                     ; +0xb, 0x140189bcb\nmov     rbx, rcx                                                       ; +0xe, 0x140189bce\nmov     rcx, cs:qword_1406C2E88                                        ; +0x11, 0x140189bd1\ntest    rcx, rcx                                                       ; +0x18, 0x140189bd8\njnz     short loc_140189C0C                                            ; +0x1b, 0x140189bdb\nmov     ecx, 888h; Size                                                ; +0x1d, 0x140189bdd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x140189be2\nmov     [rsp+38h+arg_0], rax                                           ; +0x27, 0x140189be7\nmov     rcx, rax                                                       ; +0x2c, 0x140189bec\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x2f, 0x140189bef\nnop                                                                    ; +0x34, 0x140189bf4\nmov     cs:qword_1406C2E88, rax                                        ; +0x35, 0x140189bf5\nmov     rdx, [rax]                                                     ; +0x3c, 0x140189bfc\nmov     rcx, rax                                                       ; +0x3f, 0x140189bff\ncall    qword ptr [rdx+48h]                                            ; +0x42, 0x140189c02\nmov     rcx, cs:qword_1406C2E88                                        ; +0x45, 0x140189c05\nmov     rax, [rcx]                                                     ; +0x4c, 0x140189c0c\nmovaps  xmm1, xmm6                                                     ; +0x4f, 0x140189c0f\ncall    qword ptr [rax+20h]                                            ; +0x52, 0x140189c12\ncmp     byte ptr [rbx+42Ch], 0                                         ; +0x55, 0x140189c15\njnz     short loc_140189C2D                                            ; +0x5c, 0x140189c1c\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x5e, 0x140189c1e\nmov     rcx, rax                                                       ; +0x64, 0x140189c24\ncall    cs:?updateMouseControl@CCApplication@cocos2d@@QEAAXXZ; cocos2d::CCApplication::updateMouseControl(void) ; +0x67, 0x140189c27\ncall    sub_140077F10                                                  ; +0x6d, 0x140189c2d\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0x72, 0x140189c32\nadd     rsp, 30h                                                       ; +0x77, 0x140189c37\npop     rbx                                                            ; +0x7b, 0x140189c3b\njmp     cs:SteamAPI_RunCallbacks                                       ; +0x7c, 0x140189c3c", "xrefs": ["<???> @ 0x14055caa8", "<???> @ 0x1406cb694"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}