{"type": "func", "start": 4706164, "end": 4706342, "name": "GJBaseGameLayer::moveAreaObject", "pseudocode": "// \n// GJBaseGameLayer::moveAreaObject from 0x47cf74 to 0x47d026 (178 bytes)\n// \n// 4 xrefs:\n// > GJBaseGameLayer::transformAreaObjects @ 0x47d228\n// > GJBaseGameLayer::rotateAreaObjects @ 0x47d8a4\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x47dcf2\n// > GJBaseGameLayer::processAreaMoveGroupAction @ 0x47df14\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 GJBaseGameLayer::moveAreaObject(GJBaseGameLayer *a1, GameObject *a2, float a3, float a4)\n{\n  _BOOL4 v8; // r0\n  double m_positionX; // d6\n\n  v8 = GJBaseGameLayer::resetAreaObjectValues(a1, a2, 1);\n  if ( a3 == 0.0 )\n  {\n    if ( a4 == 0.0 )\n    {\n      if ( !v8 )\n        return;\n      goto LABEL_7;\n    }\n  }\n  else if ( a4 == 0.0 )\n  {\n    GameObject::dirtifyObjectPos(a2);\n    GameObject::dirtifyObjectRect(a2);\nLABEL_4:\n    if ( !a2->m_tempOffsetXRelated )\n    {\n      m_positionX = a2->m_positionX;\n      a2->m_positionXOffset = a2->m_positionXOffset + a3;\n      a2->m_positionX = m_positionX + a3;\n    }\n    goto LABEL_7;\n  }\n  a2->m_positionY = a2->m_positionY + a4;\n  a2->m_positionYOffset = a2->m_positionYOffset + a4;\n  GameObject::dirtifyObjectPos(a2);\n  GameObject::dirtifyObjectRect(a2);\n  if ( a3 != 0.0 )\n    goto LABEL_4;\nLABEL_7:\n  a1->updateObjectSection(a1, a2);\n}", "assembly": "; \n; GJBaseGameLayer::moveAreaObject from 0x47cf74 to 0x47d026 (178 bytes)\n; \n; 4 xrefs:\n; > GJBaseGameLayer::transformAreaObjects @ 0x47d228\n; > GJBaseGameLayer::rotateAreaObjects @ 0x47d8a4\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x47dcf2\n; > GJBaseGameLayer::processAreaMoveGroupAction @ 0x47df14\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            {R4-R6,LR}                                             ; +0x0, 0x47cf74\nMOV             R5, R0                                                 ; +0x2, 0x47cf76\nVPUSH           {D8}                                                   ; +0x4, 0x47cf78\nMOV             R4, R1                                                 ; +0x8, 0x47cf7c\nVMOV            S16, R2                                                ; +0xa, 0x47cf7e\nMOVS            R2, #1; bool                                           ; +0xe, 0x47cf82\nVMOV            S17, R3                                                ; +0x10, 0x47cf84\nBL              _ZN15GJBaseGameLayer21resetAreaObjectValuesEP10GameObjectb; GJBaseGameLayer::resetAreaObjectValues(GameObject *,bool) ; +0x14, 0x47cf88\nVCMP.F32        S16, #0.0                                              ; +0x18, 0x47cf8c\nVMRS            APSR_nzcv, FPSCR                                       ; +0x1c, 0x47cf90\nVCMP.F32        S17, #0.0                                              ; +0x20, 0x47cf94\nBNE             loc_47D00C                                             ; +0x24, 0x47cf98\nVMRS            APSR_nzcv, FPSCR                                       ; +0x26, 0x47cf9a\nBEQ             loc_47CFF6                                             ; +0x2a, 0x47cf9e\nVLDR            D7, [R4,#0x328]                                        ; +0x2c, 0x47cfa0\nMOV             R0, R4; this                                           ; +0x30, 0x47cfa4\nVCVT.F64.F32    D6, S17                                                ; +0x32, 0x47cfa6\nVADD.F64        D7, D7, D6                                             ; +0x36, 0x47cfaa\nVSTR            D7, [R4,#0x328]                                        ; +0x3a, 0x47cfae\nVLDR            S15, [R4,#0x23C]                                       ; +0x3e, 0x47cfb2\nVADD.F32        S17, S15, S17                                          ; +0x42, 0x47cfb6\nVSTR            S17, [R4,#0x23C]                                       ; +0x46, 0x47cfba\nBL              _ZN10GameObject16dirtifyObjectPosEv; GameObject::dirtifyObjectPos(void) ; +0x4a, 0x47cfbe\nMOV             R0, R4; this                                           ; +0x4e, 0x47cfc2\nBL              _ZN10GameObject17dirtifyObjectRectEv; GameObject::dirtifyObjectRect(void) ; +0x50, 0x47cfc4\nVCMP.F32        S16, #0.0                                              ; +0x54, 0x47cfc8\nVMRS            APSR_nzcv, FPSCR                                       ; +0x58, 0x47cfcc\nBEQ             loc_47CFF8                                             ; +0x5c, 0x47cfd0\nLDRB.W          R3, [R4,#0x260]                                        ; +0x5e, 0x47cfd2\nCBNZ            R3, loc_47CFF8                                         ; +0x62, 0x47cfd6\nVLDR            S15, [R4,#0x238]                                       ; +0x64, 0x47cfd8\nVLDR            D6, [R4,#0x320]                                        ; +0x68, 0x47cfdc\nVADD.F32        S15, S15, S16                                          ; +0x6c, 0x47cfe0\nVSTR            S15, [R4,#0x238]                                       ; +0x70, 0x47cfe4\nVCVT.F64.F32    D7, S16                                                ; +0x74, 0x47cfe8\nVADD.F64        D7, D6, D7                                             ; +0x78, 0x47cfec\nVSTR            D7, [R4,#0x320]                                        ; +0x7c, 0x47cff0\nB               loc_47CFF8                                             ; +0x80, 0x47cff4\nCBZ             R0, loc_47D020                                         ; +0x82, 0x47cff6\nVPOP            {D8}                                                   ; +0x84, 0x47cff8\nMOV             R0, R5                                                 ; +0x88, 0x47cffc\nLDR             R3, [R5]                                               ; +0x8a, 0x47cffe\nMOV             R1, R4                                                 ; +0x8c, 0x47d000\nLDR.W           R3, [R3,#0x294]                                        ; +0x8e, 0x47d002\nPOP.W           {R4-R6,LR}                                             ; +0x92, 0x47d006\nBX              R3                                                     ; +0x96, 0x47d00a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x98, 0x47d00c\nBNE             loc_47CFA0                                             ; +0x9c, 0x47d010\nMOV             R0, R4; this                                           ; +0x9e, 0x47d012\nBL              _ZN10GameObject16dirtifyObjectPosEv; GameObject::dirtifyObjectPos(void) ; +0xa0, 0x47d014\nMOV             R0, R4; this                                           ; +0xa4, 0x47d018\nBL              _ZN10GameObject17dirtifyObjectRectEv; GameObject::dirtifyObjectRect(void) ; +0xa6, 0x47d01a\nB               loc_47CFD2                                             ; +0xaa, 0x47d01e\nVPOP            {D8}                                                   ; +0xac, 0x47d020\nPOP             {R4-R6,PC}                                             ; +0xb0, 0x47d024", "xrefs": ["GJBaseGameLayer::transformAreaObjects @ 0x47d228", "GJBaseGameLayer::rotateAreaObjects @ 0x47d8a4", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x47dcf2", "GJBaseGameLayer::processAreaMoveGroupAction @ 0x47df14"], "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"}