{"type": "func", "start": 8743880, "end": 8744848, "name": "GJBaseGameLayer::createPlayer", "pseudocode": "// \n// GJBaseGameLayer::createPlayer from 0x856bc8 to 0x856f90 (968 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::init @ 0x5e63f0\n// > LevelEditorLayer::init @ 0x67c820\n// > <???> @ 0x900a8\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::createPlayer(GJBaseGameLayer *a1)\n{\n  float *v2; // x20\n  GameManager *v3; // x0\n  int v4; // w23\n  GameManager *v5; // x0\n  PlayerObject *v6; // x23\n  void (__fastcall *setColor)(PlayerObject *__hidden, const cocos2d::ccColor3B *); // x24\n  GameManager *v8; // x25\n  GameManager *v9; // x0\n  PlayerObject *m_player1; // x23\n  GameManager *v11; // x24\n  GameManager *v12; // x0\n  GameManager *v13; // x0\n  PlayerObject *v14; // x23\n  GameManager *v15; // x24\n  GameManager *v16; // x0\n  PlayerObject *v17; // x23\n  int v18; // w0\n  GameManager *v19; // x0\n  bool GameVariable; // w0\n  char m_ignoreDamage; // w0\n  GameManager *v22; // x0\n  int v23; // w23\n  GameManager *v24; // x0\n  PlayerObject *v25; // x23\n  void (__fastcall *v26)(PlayerObject *__hidden, const cocos2d::ccColor3B *); // x24\n  GameManager *v27; // x25\n  GameManager *v28; // x0\n  PlayerObject *m_player2; // x23\n  GameManager *v30; // x24\n  GameManager *v31; // x0\n  GameManager *v32; // x0\n  PlayerObject *v33; // x23\n  GameManager *v34; // x24\n  GameManager *v35; // x0\n  PlayerObject *v36; // x0\n  PlayerObject_vtbl *v37; // x3\n  int v38; // w1\n  char v39; // w0\n  cocos2d::ccColor3B v40; // [xsp+50h] [xbp+50h] BYREF\n\n  v2 = &a1->m_varianceValues.__elems_[1975];\n  v3 = GameManager::sharedState();\n  v4 = v3->m_playerFrame.random - v3->m_playerFrame.seed;\n  v5 = GameManager::sharedState();\n  v6 = PlayerObject::create(\n         v4,\n         v5->m_playerShip.random - v5->m_playerShip.seed,\n         a1,\n         a1->m_objectLayer,\n         *((_BYTE *)v2 + 268) != 1);\n  a1->m_player1 = v6;\n  setColor = v6->setColor;\n  v8 = GameManager::sharedState();\n  v9 = GameManager::sharedState();\n  v40 = GameManager::colorForIdx(v8, v9->m_playerColor.random - v9->m_playerColor.seed);\n  setColor(v6, &v40);\n  m_player1 = a1->m_player1;\n  v11 = GameManager::sharedState();\n  v12 = GameManager::sharedState();\n  v40 = GameManager::colorForIdx(v11, v12->m_playerColor2.random - v12->m_playerColor2.seed);\n  PlayerObject::setSecondColor(m_player1, &v40);\n  v13 = GameManager::sharedState();\n  if ( ((v13->m_playerGlowColor.random - v13->m_playerGlowColor.seed) & 0x80000000) == 0 )\n  {\n    v14 = a1->m_player1;\n    v15 = GameManager::sharedState();\n    v16 = GameManager::sharedState();\n    v40 = GameManager::colorForIdx(v15, v16->m_playerGlowColor.random - v16->m_playerGlowColor.seed);\n    PlayerObject::enableCustomGlowColor(v14, &v40);\n  }\n  PlayerObject::updateGlowColor(a1->m_player1);\n  a1->m_objectLayer->addChild_0(a1->m_objectLayer, a1->m_player1, 59);\n  v17 = a1->m_player1;\n  v18 = *((unsigned __int8 *)v2 + 268);\n  v17->m_uniqueID = 1;\n  if ( !v18 )\n  {\n    PlayerObject::addAllParticles(v17);\n    v17 = a1->m_player1;\n  }\n  v19 = GameManager::sharedState();\n  GameVariable = GameManager::getGameVariable(v19, \"0068\");\n  PlayerObject::updateCheckpointMode(v17, GameVariable);\n  a1->m_player1->setVisible(a1->m_player1, *((unsigned __int8 *)v2 + 268) != 1);\n  m_ignoreDamage = *((_BYTE *)v2 + 268);\n  if ( m_ignoreDamage )\n    m_ignoreDamage = a1->m_ignoreDamage;\n  a1->m_player1->m_ignoreDamage = m_ignoreDamage;\n  v22 = GameManager::sharedState();\n  v23 = v22->m_playerFrame.random - v22->m_playerFrame.seed;\n  v24 = GameManager::sharedState();\n  v25 = PlayerObject::create(\n          v23,\n          v24->m_playerShip.random - v24->m_playerShip.seed,\n          a1,\n          a1->m_objectLayer,\n          *((_BYTE *)v2 + 268) != 1);\n  a1->m_player2 = v25;\n  v26 = v25->setColor;\n  v27 = GameManager::sharedState();\n  v28 = GameManager::sharedState();\n  v40 = GameManager::colorForIdx(v27, v28->m_playerColor2.random - v28->m_playerColor2.seed);\n  v26(v25, &v40);\n  m_player2 = a1->m_player2;\n  v30 = GameManager::sharedState();\n  v31 = GameManager::sharedState();\n  v40 = GameManager::colorForIdx(v30, v31->m_playerColor.random - v31->m_playerColor.seed);\n  PlayerObject::setSecondColor(m_player2, &v40);\n  v32 = GameManager::sharedState();\n  if ( ((v32->m_playerGlowColor.random - v32->m_playerGlowColor.seed) & 0x80000000) == 0 )\n  {\n    v33 = a1->m_player2;\n    v34 = GameManager::sharedState();\n    v35 = GameManager::sharedState();\n    v40 = GameManager::colorForIdx(v34, v35->m_playerGlowColor.random - v35->m_playerGlowColor.seed);\n    PlayerObject::enableCustomGlowColor(v33, &v40);\n  }\n  PlayerObject::updateGlowColor(a1->m_player2);\n  cocos2d::CCObject::retain(a1->m_player2);\n  v36 = a1->m_player2;\n  v36->m_isSecondPlayer = 1;\n  v37 = v36->GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v38 = *((unsigned __int8 *)v2 + 268);\n  v36->m_uniqueID = 2;\n  v37->setVisible(v36, v38 != 1);\n  v39 = *((_BYTE *)v2 + 268);\n  if ( v39 )\n    v39 = a1->m_ignoreDamage;\n  a1->m_player2->m_ignoreDamage = v39;\n}", "assembly": "; \n; GJBaseGameLayer::createPlayer from 0x856bc8 to 0x856f90 (968 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::init @ 0x5e63f0\n; > LevelEditorLayer::init @ 0x67c820\n; > <???> @ 0x900a8\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_60]!                                ; +0x0, 0x856bc8\nMOV             X29, SP                                                ; +0x4, 0x856bcc\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x8, 0x856bd0\nADRP            X22, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x856bd4\nSTR             X25, [SP,#0x60+var_20]                                 ; +0x10, 0x856bd8\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x14, 0x856bdc\nMOV             X19, X0                                                ; +0x18, 0x856be0\nADD             X20, X0, #3,LSL#12                                     ; +0x1c, 0x856be4\nLDR             X0, [X22,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x856be8\nADD             X21, X29, #0x60+var_10                                 ; +0x24, 0x856bec\nSTP             X23, X24, [SP,#0x60+var_30]                            ; +0x28, 0x856bf0\nLDR             X0, [X0]; this                                         ; +0x2c, 0x856bf4\nSTR             X0, [X29,#0x60+var_8]                                  ; +0x30, 0x856bf8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x34, 0x856bfc\nLDR             W1, [X0,#0x264]                                        ; +0x38, 0x856c00\nLDR             W23, [X0,#0x268]                                       ; +0x3c, 0x856c04\nSUB             W23, W1, W23                                           ; +0x40, 0x856c08\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x44, 0x856c0c\nMOV             X5, X0; bool                                           ; +0x48, 0x856c10\nLDRB            W4, [X20,#0x10C]                                       ; +0x4c, 0x856c14\nLDR             X3, [X19,#0x1030]; GJBaseGameLayer *                   ; +0x50, 0x856c18\nMOV             X2, X19; int                                           ; +0x54, 0x856c1c\nEOR             W4, W4, #1; cocos2d::CCLayer *                         ; +0x58, 0x856c20\nMOV             W0, W23; this                                          ; +0x5c, 0x856c24\nLDR             W6, [X5,#0x270]                                        ; +0x60, 0x856c28\nLDR             W1, [X5,#0x274]                                        ; +0x64, 0x856c2c\nSUB             W1, W6, W1; int                                        ; +0x68, 0x856c30\nBL              _ZN12PlayerObject6createEiiP15GJBaseGameLayerPN7cocos2d7CCLayerEb; PlayerObject::create(int,int,GJBaseGameLayer *,cocos2d::CCLayer *,bool) ; +0x6c, 0x856c34\nMOV             X23, X0                                                ; +0x70, 0x856c38\nSTR             X0, [X19,#0xDF8]                                       ; +0x74, 0x856c3c\nLDR             X0, [X0]; this                                         ; +0x78, 0x856c40\nLDR             X24, [X0,#0x3B0]                                       ; +0x7c, 0x856c44\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x80, 0x856c48\nMOV             X25, X0                                                ; +0x84, 0x856c4c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x88, 0x856c50\nMOV             X2, X0                                                 ; +0x8c, 0x856c54\nMOV             X0, X25; this                                          ; +0x90, 0x856c58\nLDR             W3, [X2,#0x2C4]                                        ; +0x94, 0x856c5c\nLDR             W1, [X2,#0x2C8]                                        ; +0x98, 0x856c60\nSUB             W1, W3, W1; int                                        ; +0x9c, 0x856c64\nBL              _ZN11GameManager11colorForIdxEi; GameManager::colorForIdx(int) ; +0xa0, 0x856c68\nSXTW            X2, W0                                                 ; +0xa4, 0x856c6c\nUBFX            X4, X2, #8, #8                                         ; +0xa8, 0x856c70\nUBFX            X3, X2, #0x10, #8                                      ; +0xac, 0x856c74\nSTRB            W4, [X29,#0x60+var_F]                                  ; +0xb0, 0x856c78\nMOV             X1, X21                                                ; +0xb4, 0x856c7c\nSTRB            W2, [X29,#0x60+var_10]                                 ; +0xb8, 0x856c80\nMOV             X0, X23                                                ; +0xbc, 0x856c84\nSTRB            W3, [X29,#0x60+var_E]                                  ; +0xc0, 0x856c88\nBLR             X24                                                    ; +0xc4, 0x856c8c\nLDR             X23, [X19,#0xDF8]                                      ; +0xc8, 0x856c90\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xcc, 0x856c94\nMOV             X24, X0                                                ; +0xd0, 0x856c98\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xd4, 0x856c9c\nMOV             X2, X0                                                 ; +0xd8, 0x856ca0\nMOV             X0, X24; this                                          ; +0xdc, 0x856ca4\nLDR             W3, [X2,#0x2D0]                                        ; +0xe0, 0x856ca8\nLDR             W1, [X2,#0x2D4]                                        ; +0xe4, 0x856cac\nSUB             W1, W3, W1; int                                        ; +0xe8, 0x856cb0\nBL              _ZN11GameManager11colorForIdxEi; GameManager::colorForIdx(int) ; +0xec, 0x856cb4\nSXTW            X2, W0                                                 ; +0xf0, 0x856cb8\nMOV             X1, X21                                                ; +0xf4, 0x856cbc\nUBFX            X4, X2, #8, #8                                         ; +0xf8, 0x856cc0\nUBFX            X3, X2, #0x10, #8                                      ; +0xfc, 0x856cc4\nMOV             X0, X23                                                ; +0x100, 0x856cc8\nSTRB            W2, [X29,#0x60+var_10]                                 ; +0x104, 0x856ccc\nSTRB            W4, [X29,#0x60+var_F]                                  ; +0x108, 0x856cd0\nSTRB            W3, [X29,#0x60+var_E]                                  ; +0x10c, 0x856cd4\nBL              _ZN12PlayerObject14setSecondColorERKN7cocos2d10_ccColor3BE; PlayerObject::setSecondColor(cocos2d::_ccColor3B const&) ; +0x110, 0x856cd8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x114, 0x856cdc\nLDR             W1, [X0,#0x2DC]                                        ; +0x118, 0x856ce0\nLDR             W0, [X0,#0x2E0]                                        ; +0x11c, 0x856ce4\nSUB             W0, W1, W0; this                                       ; +0x120, 0x856ce8\nTBNZ            W0, #0x1F, loc_856D3C                                  ; +0x124, 0x856cec\nLDR             X23, [X19,#0xDF8]                                      ; +0x128, 0x856cf0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x12c, 0x856cf4\nMOV             X24, X0                                                ; +0x130, 0x856cf8\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x134, 0x856cfc\nMOV             X2, X0                                                 ; +0x138, 0x856d00\nMOV             X0, X24; this                                          ; +0x13c, 0x856d04\nLDR             W3, [X2,#0x2DC]                                        ; +0x140, 0x856d08\nLDR             W1, [X2,#0x2E0]                                        ; +0x144, 0x856d0c\nSUB             W1, W3, W1; int                                        ; +0x148, 0x856d10\nBL              _ZN11GameManager11colorForIdxEi; GameManager::colorForIdx(int) ; +0x14c, 0x856d14\nSXTW            X2, W0                                                 ; +0x150, 0x856d18\nUBFX            X4, X2, #8, #8                                         ; +0x154, 0x856d1c\nUBFX            X3, X2, #0x10, #8                                      ; +0x158, 0x856d20\nMOV             X1, X21                                                ; +0x15c, 0x856d24\nMOV             X0, X23                                                ; +0x160, 0x856d28\nSTRB            W2, [X29,#0x60+var_10]                                 ; +0x164, 0x856d2c\nSTRB            W4, [X29,#0x60+var_F]                                  ; +0x168, 0x856d30\nSTRB            W3, [X29,#0x60+var_E]                                  ; +0x16c, 0x856d34\nBL              _ZN12PlayerObject21enableCustomGlowColorERKN7cocos2d10_ccColor3BE; PlayerObject::enableCustomGlowColor(cocos2d::_ccColor3B const&) ; +0x170, 0x856d38\nLDR             X0, [X19,#0xDF8]; this                                 ; +0x174, 0x856d3c\nBL              _ZN12PlayerObject15updateGlowColorEv; PlayerObject::updateGlowColor(void) ; +0x178, 0x856d40\nLDR             X3, [X19,#0x1030]                                      ; +0x17c, 0x856d44\nMOV             W2, #0x3B ; ';'                                        ; +0x180, 0x856d48\nLDR             X1, [X19,#0xDF8]                                       ; +0x184, 0x856d4c\nMOV             X0, X3                                                 ; +0x188, 0x856d50\nLDR             X3, [X3]                                               ; +0x18c, 0x856d54\nLDR             X3, [X3,#0x1C0]                                        ; +0x190, 0x856d58\nBLR             X3                                                     ; +0x194, 0x856d5c\nLDR             X23, [X19,#0xDF8]                                      ; +0x198, 0x856d60\nLDRB            W0, [X20,#0x10C]; this                                 ; +0x19c, 0x856d64\nMOV             W1, #1                                                 ; +0x1a0, 0x856d68\nSTR             W1, [X23,#0x384]                                       ; +0x1a4, 0x856d6c\nCBZ             W0, loc_856F7C                                         ; +0x1a8, 0x856d70\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1ac, 0x856d74\nADRL            X1, a0068; \"0068\"                                      ; +0x1b0, 0x856d78\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x1b8, 0x856d80\nMOV             W1, W0; bool                                           ; +0x1bc, 0x856d84\nMOV             X0, X23; this                                          ; +0x1c0, 0x856d88\nBL              _ZN12PlayerObject20updateCheckpointModeEb; PlayerObject::updateCheckpointMode(bool) ; +0x1c4, 0x856d8c\nLDR             X2, [X19,#0xDF8]                                       ; +0x1c8, 0x856d90\nLDRB            W1, [X20,#0x10C]                                       ; +0x1cc, 0x856d94\nMOV             X0, X2                                                 ; +0x1d0, 0x856d98\nLDR             X2, [X2]                                               ; +0x1d4, 0x856d9c\nEOR             W1, W1, #1                                             ; +0x1d8, 0x856da0\nLDR             X2, [X2,#0x148]                                        ; +0x1dc, 0x856da4\nBLR             X2                                                     ; +0x1e0, 0x856da8\nLDRB            W0, [X20,#0x10C]                                       ; +0x1e4, 0x856dac\nLDR             X1, [X19,#0xDF8]                                       ; +0x1e8, 0x856db0\nCBZ             W0, loc_856DBC                                         ; +0x1ec, 0x856db4\nLDRB            W0, [X19,#0x8AE]; this                                 ; +0x1f0, 0x856db8\nSTRB            W0, [X1,#0xC3C]                                        ; +0x1f4, 0x856dbc\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1f8, 0x856dc0\nLDR             W1, [X0,#0x264]                                        ; +0x1fc, 0x856dc4\nLDR             W23, [X0,#0x268]                                       ; +0x200, 0x856dc8\nSUB             W23, W1, W23                                           ; +0x204, 0x856dcc\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x208, 0x856dd0\nMOV             X5, X0; bool                                           ; +0x20c, 0x856dd4\nLDRB            W4, [X20,#0x10C]                                       ; +0x210, 0x856dd8\nLDR             X3, [X19,#0x1030]; GJBaseGameLayer *                   ; +0x214, 0x856ddc\nMOV             X2, X19; int                                           ; +0x218, 0x856de0\nEOR             W4, W4, #1; cocos2d::CCLayer *                         ; +0x21c, 0x856de4\nMOV             W0, W23; this                                          ; +0x220, 0x856de8\nLDR             W6, [X5,#0x270]                                        ; +0x224, 0x856dec\nLDR             W1, [X5,#0x274]                                        ; +0x228, 0x856df0\nSUB             W1, W6, W1; int                                        ; +0x22c, 0x856df4\nBL              _ZN12PlayerObject6createEiiP15GJBaseGameLayerPN7cocos2d7CCLayerEb; PlayerObject::create(int,int,GJBaseGameLayer *,cocos2d::CCLayer *,bool) ; +0x230, 0x856df8\nMOV             X23, X0                                                ; +0x234, 0x856dfc\nSTR             X0, [X19,#0xE00]                                       ; +0x238, 0x856e00\nLDR             X0, [X0]; this                                         ; +0x23c, 0x856e04\nLDR             X24, [X0,#0x3B0]                                       ; +0x240, 0x856e08\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x244, 0x856e0c\nMOV             X25, X0                                                ; +0x248, 0x856e10\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x24c, 0x856e14\nMOV             X2, X0                                                 ; +0x250, 0x856e18\nMOV             X0, X25; this                                          ; +0x254, 0x856e1c\nLDR             W3, [X2,#0x2D0]                                        ; +0x258, 0x856e20\nLDR             W1, [X2,#0x2D4]                                        ; +0x25c, 0x856e24\nSUB             W1, W3, W1; int                                        ; +0x260, 0x856e28\nBL              _ZN11GameManager11colorForIdxEi; GameManager::colorForIdx(int) ; +0x264, 0x856e2c\nSXTW            X2, W0                                                 ; +0x268, 0x856e30\nUBFX            X4, X2, #8, #8                                         ; +0x26c, 0x856e34\nUBFX            X3, X2, #0x10, #8                                      ; +0x270, 0x856e38\nSTRB            W4, [X29,#0x60+var_F]                                  ; +0x274, 0x856e3c\nMOV             X1, X21                                                ; +0x278, 0x856e40\nSTRB            W2, [X29,#0x60+var_10]                                 ; +0x27c, 0x856e44\nMOV             X0, X23                                                ; +0x280, 0x856e48\nSTRB            W3, [X29,#0x60+var_E]                                  ; +0x284, 0x856e4c\nBLR             X24                                                    ; +0x288, 0x856e50\nLDR             X23, [X19,#0xE00]                                      ; +0x28c, 0x856e54\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x290, 0x856e58\nMOV             X24, X0                                                ; +0x294, 0x856e5c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x298, 0x856e60\nMOV             X2, X0                                                 ; +0x29c, 0x856e64\nMOV             X0, X24; this                                          ; +0x2a0, 0x856e68\nLDR             W3, [X2,#0x2C4]                                        ; +0x2a4, 0x856e6c\nLDR             W1, [X2,#0x2C8]                                        ; +0x2a8, 0x856e70\nSUB             W1, W3, W1; int                                        ; +0x2ac, 0x856e74\nBL              _ZN11GameManager11colorForIdxEi; GameManager::colorForIdx(int) ; +0x2b0, 0x856e78\nSXTW            X2, W0                                                 ; +0x2b4, 0x856e7c\nMOV             X1, X21                                                ; +0x2b8, 0x856e80\nUBFX            X4, X2, #8, #8                                         ; +0x2bc, 0x856e84\nUBFX            X3, X2, #0x10, #8                                      ; +0x2c0, 0x856e88\nMOV             X0, X23                                                ; +0x2c4, 0x856e8c\nSTRB            W2, [X29,#0x60+var_10]                                 ; +0x2c8, 0x856e90\nSTRB            W4, [X29,#0x60+var_F]                                  ; +0x2cc, 0x856e94\nSTRB            W3, [X29,#0x60+var_E]                                  ; +0x2d0, 0x856e98\nBL              _ZN12PlayerObject14setSecondColorERKN7cocos2d10_ccColor3BE; PlayerObject::setSecondColor(cocos2d::_ccColor3B const&) ; +0x2d4, 0x856e9c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2d8, 0x856ea0\nLDR             W1, [X0,#0x2DC]                                        ; +0x2dc, 0x856ea4\nLDR             W0, [X0,#0x2E0]                                        ; +0x2e0, 0x856ea8\nSUB             W0, W1, W0; this                                       ; +0x2e4, 0x856eac\nTBNZ            W0, #0x1F, loc_856F00                                  ; +0x2e8, 0x856eb0\nLDR             X23, [X19,#0xE00]                                      ; +0x2ec, 0x856eb4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2f0, 0x856eb8\nMOV             X24, X0                                                ; +0x2f4, 0x856ebc\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2f8, 0x856ec0\nMOV             X2, X0                                                 ; +0x2fc, 0x856ec4\nMOV             X0, X24; this                                          ; +0x300, 0x856ec8\nLDR             W3, [X2,#0x2DC]                                        ; +0x304, 0x856ecc\nLDR             W1, [X2,#0x2E0]                                        ; +0x308, 0x856ed0\nSUB             W1, W3, W1; int                                        ; +0x30c, 0x856ed4\nBL              _ZN11GameManager11colorForIdxEi; GameManager::colorForIdx(int) ; +0x310, 0x856ed8\nSXTW            X2, W0                                                 ; +0x314, 0x856edc\nUBFX            X4, X2, #8, #8                                         ; +0x318, 0x856ee0\nUBFX            X3, X2, #0x10, #8                                      ; +0x31c, 0x856ee4\nMOV             X1, X21                                                ; +0x320, 0x856ee8\nMOV             X0, X23                                                ; +0x324, 0x856eec\nSTRB            W2, [X29,#0x60+var_10]                                 ; +0x328, 0x856ef0\nSTRB            W4, [X29,#0x60+var_F]                                  ; +0x32c, 0x856ef4\nSTRB            W3, [X29,#0x60+var_E]                                  ; +0x330, 0x856ef8\nBL              _ZN12PlayerObject21enableCustomGlowColorERKN7cocos2d10_ccColor3BE; PlayerObject::enableCustomGlowColor(cocos2d::_ccColor3B const&) ; +0x334, 0x856efc\nLDR             X0, [X19,#0xE00]; this                                 ; +0x338, 0x856f00\nBL              _ZN12PlayerObject15updateGlowColorEv; PlayerObject::updateGlowColor(void) ; +0x33c, 0x856f04\nLDR             X0, [X19,#0xE00]; this                                 ; +0x340, 0x856f08\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x344, 0x856f0c\nLDR             X2, [X19,#0xE00]                                       ; +0x348, 0x856f10\nMOV             W1, #1                                                 ; +0x34c, 0x856f14\nMOV             W4, #2                                                 ; +0x350, 0x856f18\nMOV             X0, X2                                                 ; +0x354, 0x856f1c\nSTRB            W1, [X2,#0xA68]                                        ; +0x358, 0x856f20\nLDR             X3, [X2]                                               ; +0x35c, 0x856f24\nLDRB            W1, [X20,#0x10C]                                       ; +0x360, 0x856f28\nSTR             W4, [X2,#0x384]                                        ; +0x364, 0x856f2c\nLDR             X2, [X3,#0x148]                                        ; +0x368, 0x856f30\nEOR             W1, W1, #1                                             ; +0x36c, 0x856f34\nBLR             X2                                                     ; +0x370, 0x856f38\nLDRB            W0, [X20,#0x10C]                                       ; +0x374, 0x856f3c\nLDR             X1, [X19,#0xE00]                                       ; +0x378, 0x856f40\nCBZ             W0, loc_856F4C                                         ; +0x37c, 0x856f44\nLDRB            W0, [X19,#0x8AE]                                       ; +0x380, 0x856f48\nSTRB            W0, [X1,#0xC3C]                                        ; +0x384, 0x856f4c\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x388, 0x856f50\nLDR             X22, [X22,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x38c, 0x856f54\nLDR             X0, [X22]                                              ; +0x390, 0x856f58\nCMP             X1, X0                                                 ; +0x394, 0x856f5c\nB.NE            loc_856F8C                                             ; +0x398, 0x856f60\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x39c, 0x856f64\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x3a0, 0x856f68\nLDP             X23, X24, [SP,#0x60+var_30]                            ; +0x3a4, 0x856f6c\nLDR             X25, [SP,#0x60+var_20]                                 ; +0x3a8, 0x856f70\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x3ac, 0x856f74\nRET                                                                    ; +0x3b0, 0x856f78\nMOV             X0, X23; this                                          ; +0x3b4, 0x856f7c\nBL              _ZN12PlayerObject15addAllParticlesEv; PlayerObject::addAllParticles(void) ; +0x3b8, 0x856f80\nLDR             X23, [X19,#0xDF8]                                      ; +0x3bc, 0x856f84\nB               loc_856D74                                             ; +0x3c0, 0x856f88\nBL              .__stack_chk_fail                                      ; +0x3c4, 0x856f8c", "xrefs": ["PlayLayer::init @ 0x5e63f0", "LevelEditorLayer::init @ 0x67c820", "<???> @ 0x900a8"], "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"}