{"type": "func", "start": 9504216, "end": 9504336, "name": "CurrencyRewardLayer::createUnlockObject", "pseudocode": "// \n// CurrencyRewardLayer::createUnlockObject from 0x9105d8 to 0x910650 (120 bytes)\n// \n// 3 xrefs:\n// > GJGarageLayer::dialogClosed @ 0x794b58\n// > RewardUnlockLayer::playRewardEffect @ 0x9394d4\n// > <???> @ 0x6dbf0\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 CurrencyRewardLayer::createUnlockObject(\n        CurrencyRewardLayer *a1,\n        cocos2d::CCSprite *a2,\n        cocos2d::CCPoint a3,\n        float a4)\n{\n  const cocos2d::CCPoint *v4; // x2\n  float v6; // s2\n  float x; // [xsp+30h] [xbp+30h]\n  cocos2d::CCPoint v9; // [xsp+40h] [xbp+40h] BYREF\n  cocos2d::CCPoint v10; // 0:s0.4,4:s1.4\n\n  x = a3.x;\n  cocos2d::CCPoint::CCPoint(&v9, v4);\n  v10.x = x;\n  CurrencyRewardLayer::createObjectsFull(a1, Icon, 1, a2, v10, v6);\n}", "assembly": "; \n; CurrencyRewardLayer::createUnlockObject from 0x9105d8 to 0x910650 (120 bytes)\n; \n; 3 xrefs:\n; > GJGarageLayer::dialogClosed @ 0x794b58\n; > RewardUnlockLayer::playRewardEffect @ 0x9394d4\n; > <???> @ 0x6dbf0\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_50]!                                ; +0x0, 0x9105d8\nMOV             X29, SP                                                ; +0x4, 0x9105dc\nSTP             X19, X20, [SP,#0x50+var_40]                            ; +0x8, 0x9105e0\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x9105e4\nADD             X4, X29, #0x50+var_10                                  ; +0x10, 0x9105e8\nSTR             X1, [X29,#0x50+var_30]                                 ; +0x14, 0x9105ec\nMOV             X1, X2; cocos2d::CCPoint *                             ; +0x18, 0x9105f0\nMOV             X20, X0                                                ; +0x1c, 0x9105f4\nMOV             X0, X4; this                                           ; +0x20, 0x9105f8\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x9105fc\nSTR             X4, [X29,#0x50+var_28]                                 ; +0x28, 0x910600\nSTR             Q0, [X29,#0x50+var_20]                                 ; +0x2c, 0x910604\nLDR             X2, [X19]                                              ; +0x30, 0x910608\nSTR             X2, [X29,#0x50+var_8]                                  ; +0x34, 0x91060c\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x38, 0x910610\nLDR             Q0, [X29,#0x50+var_20]                                 ; +0x3c, 0x910614\nLDR             X3, [X29,#0x50+var_30]                                 ; +0x40, 0x910618\nLDR             X4, [X29,#0x50+var_28]                                 ; +0x44, 0x91061c\nMOV             X0, X20                                                ; +0x48, 0x910620\nMOV             W1, #0                                                 ; +0x4c, 0x910624\nMOV             W2, #1                                                 ; +0x50, 0x910628\nBL              _ZN19CurrencyRewardLayer17createObjectsFullE18CurrencySpriteTypeiPN7cocos2d8CCSpriteENS1_7CCPointEf; CurrencyRewardLayer::createObjectsFull(CurrencySpriteType,int,cocos2d::CCSprite *,cocos2d::CCPoint,float) ; +0x54, 0x91062c\nLDR             X1, [X29,#0x50+var_8]                                  ; +0x58, 0x910630\nLDR             X0, [X19]                                              ; +0x5c, 0x910634\nCMP             X1, X0                                                 ; +0x60, 0x910638\nB.NE            loc_91064C                                             ; +0x64, 0x91063c\nLDP             X19, X20, [SP,#0x50+var_40]                            ; +0x68, 0x910640\nLDP             X29, X30, [SP+0x50+var_50],#0x50                       ; +0x6c, 0x910644\nRET                                                                    ; +0x70, 0x910648\nBL              .__stack_chk_fail                                      ; +0x74, 0x91064c", "xrefs": ["GJGarageLayer::dialogClosed @ 0x794b58", "RewardUnlockLayer::playRewardEffect @ 0x9394d4", "<???> @ 0x6dbf0"], "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"}