{"type": "func", "start": 4297437320, "end": 4297437424, "name": "GameObject::quickUpdatePosition", "pseudocode": "// \n// GameObject::quickUpdatePosition from 0x10025b088 to 0x10025b0f0 (104 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::processMoveActionsStep @ 0x1001f7154\n// > LevelEditorLayer::quickUpdateAllPositions @ 0x10036294c\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 GameObject::quickUpdatePosition(GameObject *a1)\n{\n  __n128 v1; // q0\n  __n128 v2; // q1\n  cocos2d::CCSprite *m_colorSprite; // x0\n  cocos2d::CCPoint v5; // [xsp+8h] [xbp-18h] BYREF\n\n  v1.n128_u64[0] = *(_QWORD *)&a1->m_positionX;\n  v1.n128_f32[0] = v1.n128_f64[0];\n  v2.n128_u64[0] = *(_QWORD *)&a1->m_positionY;\n  v2.n128_f32[0] = v2.n128_f64[0];\n  sub_100022980(v1, v2, &v5);\n  cocos2d::CCSprite::setPosition(a1, &v5);\n  m_colorSprite = a1->m_colorSprite;\n  if ( m_colorSprite )\n  {\n    if ( !a1->m_colorSpriteLocked )\n      ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCPoint *))m_colorSprite->setPosition)(m_colorSprite, &v5);\n  }\n}", "assembly": "; \n; GameObject::quickUpdatePosition from 0x10025b088 to 0x10025b0f0 (104 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::processMoveActionsStep @ 0x1001f7154\n; > LevelEditorLayer::quickUpdateAllPositions @ 0x10036294c\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x10025b088\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10025b08c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10025b090\nADD             X29, SP, #0x20                                         ; +0xc, 0x10025b094\nMOV             X19, X0                                                ; +0x10, 0x10025b098\nLDR             D0, [X0,#0x3B0]                                        ; +0x14, 0x10025b09c\nFCVT            S0, D0                                                 ; +0x18, 0x10025b0a0\nLDR             D1, [X0,#0x3B8]                                        ; +0x1c, 0x10025b0a4\nFCVT            S1, D1                                                 ; +0x20, 0x10025b0a8\nADD             X0, SP, #0x20+var_18                                   ; +0x24, 0x10025b0ac\nBL              sub_100022980                                          ; +0x28, 0x10025b0b0\nADD             X1, SP, #0x20+var_18                                   ; +0x2c, 0x10025b0b4\nMOV             X0, X19                                                ; +0x30, 0x10025b0b8\nBL              cocos2d__CCSprite__setPosition                         ; +0x34, 0x10025b0bc\nLDR             X0, [X19,#0x378]                                       ; +0x38, 0x10025b0c0\nCBZ             X0, loc_10025B0E0                                      ; +0x3c, 0x10025b0c4\nLDRB            W8, [X19,#0x362]                                       ; +0x40, 0x10025b0c8\nTBNZ            W8, #0, loc_10025B0E0                                  ; +0x44, 0x10025b0cc\nLDR             X8, [X0]                                               ; +0x48, 0x10025b0d0\nLDR             X8, [X8,#0xB8]                                         ; +0x4c, 0x10025b0d4\nADD             X1, SP, #0x20+var_18                                   ; +0x50, 0x10025b0d8\nBLR             X8                                                     ; +0x54, 0x10025b0dc\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x58, 0x10025b0e0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x5c, 0x10025b0e4\nADD             SP, SP, #0x30 ; '0'                                    ; +0x60, 0x10025b0e8\nRET                                                                    ; +0x64, 0x10025b0ec", "xrefs": ["GJBaseGameLayer::processMoveActionsStep @ 0x1001f7154", "LevelEditorLayer::quickUpdateAllPositions @ 0x10036294c"], "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"}