{"type": "func", "start": 6629068, "end": 6629128, "name": "EnhancedGameObject::updateState", "pseudocode": "// \n// EnhancedGameObject::updateState from 0x6526cc to 0x652708 (60 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::processStateObjects @ 0x85b104\n// > <???> @ 0xc74e8\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 EnhancedGameObject::updateState(EnhancedGameObject *a1, int a2)\n{\n  if ( a1->m_state < a2 )\n  {\n    a1->m_poweredOn = 0;\nLABEL_3:\n    a1->powerOffObject(a1);\n    return;\n  }\n  if ( !a1->m_poweredOn )\n    goto LABEL_3;\n}", "assembly": "; \n; EnhancedGameObject::updateState from 0x6526cc to 0x652708 (60 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::processStateObjects @ 0x85b104\n; > <???> @ 0xc74e8\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x6526cc\nMOV             X29, SP                                                ; +0x4, 0x6526d0\nLDR             W2, [X0,#0x534]                                        ; +0x8, 0x6526d4\nCMP             W2, W1                                                 ; +0xc, 0x6526d8\nB.GE            loc_6526F8                                             ; +0x10, 0x6526dc\nSTRB            WZR, [X0,#0x533]                                       ; +0x14, 0x6526e0\nLDR             X1, [X0]                                               ; +0x18, 0x6526e4\nLDR             X1, [X1,#0x718]                                        ; +0x1c, 0x6526e8\nBLR             X1                                                     ; +0x20, 0x6526ec\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x24, 0x6526f0\nRET                                                                    ; +0x28, 0x6526f4\nLDRB            W1, [X0,#0x533]                                        ; +0x2c, 0x6526f8\nCBZ             W1, loc_6526E4                                         ; +0x30, 0x6526fc\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x34, 0x652700\nRET                                                                    ; +0x38, 0x652704", "xrefs": ["GJBaseGameLayer::processStateObjects @ 0x85b104", "<???> @ 0xc74e8"], "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"}