{"type": "func", "start": 8914228, "end": 8914836, "name": "GJBaseGameLayer::updateStaticCameraPosToGroup", "pseudocode": "// \n// GJBaseGameLayer::updateStaticCameraPosToGroup from 0x880534 to 0x880794 (608 bytes)\n// \n// 2 xrefs:\n// > CameraTriggerGameObject::triggerObject @ 0x7704f8\n// > <???> @ 0x2b9e0\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::updateStaticCameraPosToGroup(\n        GJBaseGameLayer *a1,\n        int a2,\n        bool a3,\n        bool a4,\n        bool a5,\n        float a6,\n        float a7,\n        int a8,\n        float a9,\n        bool a10,\n        float a11)\n{\n  _BOOL4 v11; // w24\n  _BOOL4 v13; // w23\n  _BOOL4 v19; // w25\n  _BOOL4 v20; // w22\n  GameObject *MainObject; // x0\n  float v23; // s2\n  float v24; // s3\n  cocos2d::CCPoint v25; // [xsp+98h] [xbp+98h] BYREF\n  cocos2d::CCPoint v26; // [xsp+A0h] [xbp+A0h] BYREF\n  cocos2d::CCPoint v27; // 0:s0.4,4:s1.4\n\n  v11 = a3;\n  v13 = a10;\n  v19 = a4;\n  v20 = a5;\n  MainObject = GJBaseGameLayer::tryGetMainObject(a1, a2);\n  if ( MainObject )\n  {\n    MainObject->getRealPosition((GameObject *)&v25);\n    if ( a6 <= 1.0 )\n    {\n      a6 = 1.0;\n      if ( !v11 )\n        goto LABEL_7;\n    }\n    else if ( !v11 )\n    {\n      goto LABEL_7;\n    }\n    a1->m_gameState.m_unkPoint23.x = a11;\n    a1->m_gameState.m_unkPoint16.x = (float)a2;\n    a1->m_gameState.m_unkPoint15.x = (float)v20;\n    a1->m_gameState.m_unkPoint22.x = (float)v13;\n    a1->m_gameState.m_unkPoint14.x = a6;\n    GJGameState::stopTweenAction(&a1->m_gameState, 21);\n    if ( a1->m_gameState.m_unkPoint15.x != 0.0 )\n    {\n      if ( a7 > 0.0 )\n      {\nLABEL_6:\n        a1->m_gameState.m_unkPoint12.x = 0.0;\n        a1->m_gameState.m_unkPoint13.x = 0.0;\n        GJGameState::tweenValue(&a1->m_gameState, 0.0, 1.0, 21, a7, a8, a9, -1, -1);\n        goto LABEL_7;\n      }\nLABEL_15:\n      a1->m_gameState.m_unkPoint12.x = 1.0;\n      a1->m_gameState.m_unkPoint13.x = 1.0;\n      if ( !v19 )\n        goto LABEL_8;\n      goto LABEL_10;\n    }\n    if ( a1->m_gameState.m_unkPoint22.x != 0.0 )\n    {\n      if ( a7 > 0.0 )\n        goto LABEL_6;\n      goto LABEL_15;\n    }\nLABEL_7:\n    if ( !v19 )\n    {\nLABEL_8:\n      cocos2d::CCPoint::CCPoint(&v26, &v25);\n      v27.x = a7;\n      v27.y = a9;\n      GJBaseGameLayer::updateStaticCameraPos(a1, v27, (bool)&v26, v11, v19, v23, v20 || v13, v24);\n      return;\n    }\nLABEL_10:\n    a1->m_gameState.m_unkPoint22.y = (float)v13;\n    a1->m_gameState.m_unkPoint23.y = a11;\n    a1->m_gameState.m_unkPoint15.y = (float)v20;\n    a1->m_gameState.m_unkPoint16.y = (float)a2;\n    a1->m_gameState.m_unkPoint14.y = a6;\n    GJGameState::stopTweenAction(&a1->m_gameState, 22);\n    if ( a1->m_gameState.m_unkPoint15.y == 0.0 )\n    {\n      if ( a1->m_gameState.m_unkPoint22.y == 0.0 )\n        goto LABEL_8;\n      if ( a7 > 0.0 )\n        goto LABEL_12;\n    }\n    else if ( a7 > 0.0 )\n    {\nLABEL_12:\n      a1->m_gameState.m_unkPoint12.y = 0.0;\n      a1->m_gameState.m_unkPoint13.y = 0.0;\n      GJGameState::tweenValue(&a1->m_gameState, 0.0, 1.0, 22, a7, a8, a9, -1, -1);\n      goto LABEL_8;\n    }\n    a1->m_gameState.m_unkPoint12.y = 1.0;\n    a1->m_gameState.m_unkPoint13.y = 1.0;\n    goto LABEL_8;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::updateStaticCameraPosToGroup from 0x880534 to 0x880794 (608 bytes)\n; \n; 2 xrefs:\n; > CameraTriggerGameObject::triggerObject @ 0x7704f8\n; > <???> @ 0x2b9e0\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,#var_B0]!                                ; +0x0, 0x880534\nMOV             X29, SP                                                ; +0x4, 0x880538\nSTP             X19, X20, [SP,#0xB0+var_A0]                            ; +0x8, 0x88053c\nSTP             D8, D9, [SP,#0xB0+var_50]                              ; +0xc, 0x880540\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x880544\nSTP             D10, D11, [SP,#0xB0+var_40]                            ; +0x14, 0x880548\nSTP             X23, X24, [SP,#0xB0+var_80]                            ; +0x18, 0x88054c\nUXTB            W24, W2                                                ; +0x1c, 0x880550\nMOV             X19, X0                                                ; +0x20, 0x880554\nLDR             X2, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x880558\nUXTB            W23, W6                                                ; +0x28, 0x88055c\nFMOV            S8, S0                                                 ; +0x2c, 0x880560\nFMOV            S9, S1                                                 ; +0x30, 0x880564\nFMOV            S10, S2                                                ; +0x34, 0x880568\nLDR             X2, [X2]                                               ; +0x38, 0x88056c\nFMOV            S11, S3                                                ; +0x3c, 0x880570\nSTR             X2, [X29,#0xB0+var_8]                                  ; +0x40, 0x880574\nSTP             X21, X22, [SP,#0xB0+var_90]                            ; +0x44, 0x880578\nSTP             X25, X26, [SP,#0xB0+var_70]                            ; +0x48, 0x88057c\nSTP             X27, X28, [SP,#0xB0+var_60]                            ; +0x4c, 0x880580\nMOV             W21, W1                                                ; +0x50, 0x880584\nUXTB            W25, W3                                                ; +0x54, 0x880588\nUXTB            W22, W4                                                ; +0x58, 0x88058c\nMOV             W26, W5                                                ; +0x5c, 0x880590\nBL              _ZN15GJBaseGameLayer16tryGetMainObjectEi; GJBaseGameLayer::tryGetMainObject(int) ; +0x60, 0x880594\nCBZ             X0, loc_880670                                         ; +0x64, 0x880598\nLDR             X1, [X0]                                               ; +0x68, 0x88059c\nADD             X27, X29, #0xB0+var_18                                 ; +0x6c, 0x8805a0\nMOV             X8, X27                                                ; +0x70, 0x8805a4\nLDR             X1, [X1,#0x540]                                        ; +0x74, 0x8805a8\nBLR             X1                                                     ; +0x78, 0x8805ac\nFMOV            S0, #1.0                                               ; +0x7c, 0x8805b0\nFCMPE           S8, S0                                                 ; +0x80, 0x8805b4\nB.LE            loc_880784                                             ; +0x84, 0x8805b8\nCBZ             W24, loc_880638                                        ; +0x88, 0x8805bc\nSCVTF           S0, W21                                                ; +0x8c, 0x8805c0\nADD             X28, X19, #0x1A8                                       ; +0x90, 0x8805c4\nUCVTF           S2, W22                                                ; +0x94, 0x8805c8\nMOV             X0, X28; this                                          ; +0x98, 0x8805cc\nUCVTF           S1, W23                                                ; +0x9c, 0x8805d0\nMOV             W1, #0x15; int                                         ; +0xa0, 0x8805d4\nSTR             S11, [X19,#0x268]                                      ; +0xa4, 0x8805d8\nSTR             S0, [X19,#0x230]                                       ; +0xa8, 0x8805dc\nSTR             S2, [X19,#0x228]                                       ; +0xac, 0x8805e0\nSTR             S1, [X19,#0x260]                                       ; +0xb0, 0x8805e4\nSTR             S8, [X19,#0x220]                                       ; +0xb4, 0x8805e8\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0xb8, 0x8805ec\nLDR             S0, [X19,#0x228]                                       ; +0xbc, 0x8805f0\nFCMP            S0, #0.0                                               ; +0xc0, 0x8805f4\nB.EQ            loc_880730                                             ; +0xc4, 0x8805f8\nFCMPE           S9, #0.0                                               ; +0xc8, 0x8805fc\nFMOV            S4, WZR                                                ; +0xcc, 0x880600\nB.LE            loc_880748                                             ; +0xd0, 0x880604\nFMOV            S0, S4; float                                          ; +0xd4, 0x880608\nMOV             W3, #0xFFFFFFFF; int                                   ; +0xd8, 0x88060c\nFMOV            S2, S9; float                                          ; +0xdc, 0x880610\nMOV             X0, X28; this                                          ; +0xe0, 0x880614\nFMOV            S3, S10; float                                         ; +0xe4, 0x880618\nMOV             W1, #0x15; int                                         ; +0xe8, 0x88061c\nFMOV            S1, #1.0; float                                        ; +0xec, 0x880620\nMOV             W2, W26; int                                           ; +0xf0, 0x880624\nMOV             W4, W3; int                                            ; +0xf4, 0x880628\nSTR             S4, [X19,#0x210]                                       ; +0xf8, 0x88062c\nSTR             S4, [X19,#0x218]                                       ; +0xfc, 0x880630\nBL              _ZN11GJGameState10tweenValueEffififii; GJGameState::tweenValue(float,float,int,float,int,float,int,int) ; +0x100, 0x880634\nCBNZ            W25, loc_8806A8                                        ; +0x104, 0x880638\nADD             X21, X29, #0xB0+var_10                                 ; +0x108, 0x88063c\nMOV             X1, X27; cocos2d::CCPoint *                            ; +0x10c, 0x880640\nMOV             X0, X21; this                                          ; +0x110, 0x880644\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x114, 0x880648\nFMOV            S0, S9                                                 ; +0x118, 0x88064c\nMOV             X0, X19                                                ; +0x11c, 0x880650\nFMOV            S1, S10                                                ; +0x120, 0x880654\nMOV             X1, X21                                                ; +0x124, 0x880658\nMOV             W2, W24                                                ; +0x128, 0x88065c\nMOV             W3, W25                                                ; +0x12c, 0x880660\nORR             W4, W22, W23                                           ; +0x130, 0x880664\nMOV             W5, W26                                                ; +0x134, 0x880668\nBL              _ZN15GJBaseGameLayer21updateStaticCameraPosEN7cocos2d7CCPointEbbbfif; GJBaseGameLayer::updateStaticCameraPos(cocos2d::CCPoint,bool,bool,bool,float,int,float) ; +0x138, 0x88066c\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x13c, 0x880670\nLDR             X1, [X29,#0xB0+var_8]                                  ; +0x140, 0x880674\nLDR             X0, [X20]                                              ; +0x144, 0x880678\nCMP             X1, X0                                                 ; +0x148, 0x88067c\nB.NE            loc_880790                                             ; +0x14c, 0x880680\nLDP             X19, X20, [SP,#0xB0+var_A0]                            ; +0x150, 0x880684\nLDP             D8, D9, [SP,#0xB0+var_50]                              ; +0x154, 0x880688\nLDP             X21, X22, [SP,#0xB0+var_90]                            ; +0x158, 0x88068c\nLDP             D10, D11, [SP,#0xB0+var_40]                            ; +0x15c, 0x880690\nLDP             X23, X24, [SP,#0xB0+var_80]                            ; +0x160, 0x880694\nLDP             X25, X26, [SP,#0xB0+var_70]                            ; +0x164, 0x880698\nLDP             X27, X28, [SP,#0xB0+var_60]                            ; +0x168, 0x88069c\nLDP             X29, X30, [SP+0xB0+var_B0],#0xB0                       ; +0x16c, 0x8806a0\nRET                                                                    ; +0x170, 0x8806a4\nUCVTF           S0, W23                                                ; +0x174, 0x8806a8\nADD             X2, X19, #0x260                                        ; +0x178, 0x8806ac\nSCVTF           S2, W21                                                ; +0x17c, 0x8806b0\nADD             X21, X19, #0x1A8                                       ; +0x180, 0x8806b4\nUCVTF           S1, W22                                                ; +0x184, 0x8806b8\nMOV             X0, X21; this                                          ; +0x188, 0x8806bc\nMOV             W1, #0x16; int                                         ; +0x18c, 0x8806c0\nSTR             X2, [X29,#0xB0+var_28]                                 ; +0x190, 0x8806c4\nSTR             S0, [X19,#0x264]                                       ; +0x194, 0x8806c8\nSTR             S11, [X19,#0x26C]                                      ; +0x198, 0x8806cc\nSTR             S1, [X19,#0x22C]                                       ; +0x19c, 0x8806d0\nSTR             S2, [X19,#0x234]                                       ; +0x1a0, 0x8806d4\nSTR             S8, [X19,#0x224]                                       ; +0x1a4, 0x8806d8\nBL              _ZN11GJGameState15stopTweenActionEi; GJGameState::stopTweenAction(int) ; +0x1a8, 0x8806dc\nLDR             S0, [X19,#0x22C]                                       ; +0x1ac, 0x8806e0\nLDR             X2, [X29,#0xB0+var_28]                                 ; +0x1b0, 0x8806e4\nFCMP            S0, #0.0                                               ; +0x1b4, 0x8806e8\nB.EQ            loc_88075C                                             ; +0x1b8, 0x8806ec\nFCMPE           S9, #0.0                                               ; +0x1bc, 0x8806f0\nFMOV            S4, WZR                                                ; +0x1c0, 0x8806f4\nB.LE            loc_880774                                             ; +0x1c4, 0x8806f8\nFMOV            S0, S4; float                                          ; +0x1c8, 0x8806fc\nMOV             W3, #0xFFFFFFFF; int                                   ; +0x1cc, 0x880700\nFMOV            S2, S9; float                                          ; +0x1d0, 0x880704\nMOV             X0, X21; this                                          ; +0x1d4, 0x880708\nFMOV            S3, S10; float                                         ; +0x1d8, 0x88070c\nMOV             W1, #0x16; int                                         ; +0x1dc, 0x880710\nFMOV            S1, #1.0; float                                        ; +0x1e0, 0x880714\nMOV             W2, W26; int                                           ; +0x1e4, 0x880718\nMOV             W4, W3; int                                            ; +0x1e8, 0x88071c\nSTR             S4, [X19,#0x214]                                       ; +0x1ec, 0x880720\nSTR             S4, [X19,#0x21C]                                       ; +0x1f0, 0x880724\nBL              _ZN11GJGameState10tweenValueEffififii; GJGameState::tweenValue(float,float,int,float,int,float,int,int) ; +0x1f4, 0x880728\nB               loc_88063C                                             ; +0x1f8, 0x88072c\nLDR             S0, [X19,#0x260]                                       ; +0x1fc, 0x880730\nFCMP            S0, #0.0                                               ; +0x200, 0x880734\nB.EQ            loc_880638                                             ; +0x204, 0x880738\nFCMPE           S9, #0.0                                               ; +0x208, 0x88073c\nFMOV            S4, WZR                                                ; +0x20c, 0x880740\nB.GT            loc_880608                                             ; +0x210, 0x880744\nFMOV            S0, #1.0                                               ; +0x214, 0x880748\nSTR             S0, [X19,#0x210]                                       ; +0x218, 0x88074c\nSTR             S0, [X19,#0x218]                                       ; +0x21c, 0x880750\nCBZ             W25, loc_88063C                                        ; +0x220, 0x880754\nB               loc_8806A8                                             ; +0x224, 0x880758\nLDR             S0, [X2,#4]                                            ; +0x228, 0x88075c\nFCMP            S0, #0.0                                               ; +0x22c, 0x880760\nB.EQ            loc_88063C                                             ; +0x230, 0x880764\nFCMPE           S9, #0.0                                               ; +0x234, 0x880768\nFMOV            S4, WZR                                                ; +0x238, 0x88076c\nB.GT            loc_8806FC                                             ; +0x23c, 0x880770\nFMOV            S0, #1.0                                               ; +0x240, 0x880774\nSTR             S0, [X19,#0x214]                                       ; +0x244, 0x880778\nSTR             S0, [X19,#0x21C]                                       ; +0x248, 0x88077c\nB               loc_88063C                                             ; +0x24c, 0x880780\nFMOV            S8, S0                                                 ; +0x250, 0x880784\nCBZ             W24, loc_880638                                        ; +0x254, 0x880788\nB               loc_8805C0                                             ; +0x258, 0x88078c\nBL              .__stack_chk_fail                                      ; +0x25c, 0x880790", "xrefs": ["CameraTriggerGameObject::triggerObject @ 0x7704f8", "<???> @ 0x2b9e0"], "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"}