{"type": "func", "start": 4297470068, "end": 4297470112, "name": "EnhancedGameObject::updateState", "pseudocode": "// \n// EnhancedGameObject::updateState from 0x100263074 to 0x1002630a0 (44 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::processStateObjects @ 0x1001ea868\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\nvoid __fastcall EnhancedGameObject::updateState(EnhancedGameObject *a1, int a2)\n{\n  if ( a1->m_state >= a2 )\n  {\n    if ( a1->m_poweredOn )\n      return;\n  }\n  else\n  {\n    a1->m_poweredOn = 0;\n  }\n  ((void (__fastcall *)(EnhancedGameObject *))a1->powerOffObject)(a1);\n}", "assembly": "; \n; EnhancedGameObject::updateState from 0x100263074 to 0x1002630a0 (44 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::processStateObjects @ 0x1001ea868\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\nLDR             W8, [X0,#0x544]                                        ; +0x0, 0x100263074\nCMP             W8, W1                                                 ; +0x4, 0x100263078\nB.GE            loc_100263088                                          ; +0x8, 0x10026307c\nSTRB            WZR, [X0,#0x543]                                       ; +0xc, 0x100263080\nB               loc_100263094                                          ; +0x10, 0x100263084\nLDRB            W8, [X0,#0x543]                                        ; +0x14, 0x100263088\nTBZ             W8, #0, loc_100263094                                  ; +0x18, 0x10026308c\nRET                                                                    ; +0x1c, 0x100263090\nLDR             X8, [X0]                                               ; +0x20, 0x100263094\nLDR             X1, [X8,#0x718]                                        ; +0x24, 0x100263098\nBR              X1                                                     ; +0x28, 0x10026309c", "xrefs": ["GJBaseGameLayer::processStateObjects @ 0x1001ea868"], "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"}