{"type": "func", "start": 5054860, "end": 5054928, "name": "CurrencyRewardLayer::createObjects", "pseudocode": "// \n// CurrencyRewardLayer::createObjects from 0x4d218c to 0x4d21d0 (68 bytes)\n// \n// 7 xrefs:\n// > ChallengesPage::claimItem @ 0x4cd0fc\n// > CurrencyRewardLayer::init @ 0x4d357e\n// > CurrencyRewardLayer::init @ 0x4d35aa\n// > CurrencyRewardLayer::init @ 0x4d35d6\n// > CurrencyRewardLayer::init @ 0x4d3602\n// > CurrencyRewardLayer::init @ 0x4d3658\n// > CurrencyRewardLayer::init @ 0x4d3676\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::createObjects(\n        CurrencyRewardLayer *a1,\n        CurrencySpriteType a2,\n        int a3,\n        cocos2d::CCPoint a4,\n        float a5)\n{\n  cocos2d::CCPoint v8; // [sp+0h] [bp-18h]\n  float v9; // [sp+8h] [bp-10h]\n  cocos2d::CCPoint v10; // [sp+Ch] [bp-Ch] BYREF\n\n  cocos2d::CCPoint::CCPoint(&v10, (const cocos2d::CCPoint *)LODWORD(a4.x));\n  LODWORD(v8.x) = &v10;\n  v8.y = a4.y;\n  CurrencyRewardLayer::createObjectsFull(a1, a2, a3, nullptr, v8, v9);\n}", "assembly": "; \n; CurrencyRewardLayer::createObjects from 0x4d218c to 0x4d21d0 (68 bytes)\n; \n; 7 xrefs:\n; > ChallengesPage::claimItem @ 0x4cd0fc\n; > CurrencyRewardLayer::init @ 0x4d357e\n; > CurrencyRewardLayer::init @ 0x4d35aa\n; > CurrencyRewardLayer::init @ 0x4d35d6\n; > CurrencyRewardLayer::init @ 0x4d3602\n; > CurrencyRewardLayer::init @ 0x4d3658\n; > CurrencyRewardLayer::init @ 0x4d3676\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.W          {R4-R8,LR}                                             ; +0x0, 0x4d218c\nSUB             SP, SP, #0x18                                          ; +0x4, 0x4d2190\nLDR             R4, =(__stack_chk_guard_ptr - 0x4D219E)                ; +0x6, 0x4d2192\nMOV             R6, R2                                                 ; +0x8, 0x4d2194\nADD             R5, SP, #0x18+var_C                                    ; +0xa, 0x4d2196\nMOV             R8, R0                                                 ; +0xc, 0x4d2198\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x4d219a\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x4d219c\nMOV             R7, R1                                                 ; +0x12, 0x4d219e\nMOV             R0, R5; this                                           ; +0x14, 0x4d21a0\nMOV             R1, R3; cocos2d::CCPoint *                             ; +0x16, 0x4d21a2\nLDR             R2, [R4]                                               ; +0x18, 0x4d21a4\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x1a, 0x4d21a6\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1c, 0x4d21a8\nLDR             R3, [SP,#0x18+arg_0]                                   ; +0x20, 0x4d21ac\nMOV             R2, R6; int                                            ; +0x22, 0x4d21ae\nSTR             R5, [SP,#0x18+var_18]; int                             ; +0x24, 0x4d21b0\nMOV             R0, R8; int                                            ; +0x26, 0x4d21b2\nMOV             R1, R7; int                                            ; +0x28, 0x4d21b4\nSTR             R3, [SP,#0x18+var_14]; float                           ; +0x2a, 0x4d21b6\nMOVS            R3, #0; bool                                           ; +0x2c, 0x4d21b8\nBL              _ZN19CurrencyRewardLayer17createObjectsFullE18CurrencySpriteTypeiPN7cocos2d8CCSpriteENS1_7CCPointEf; CurrencyRewardLayer::createObjectsFull(CurrencySpriteType,int,cocos2d::CCSprite *,cocos2d::CCPoint,float) ; +0x2e, 0x4d21ba\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x32, 0x4d21be\nLDR             R3, [R4]                                               ; +0x34, 0x4d21c0\nCMP             R2, R3                                                 ; +0x36, 0x4d21c2\nBEQ             loc_4D21CA                                             ; +0x38, 0x4d21c4\nBLX             __stack_chk_fail                                       ; +0x3a, 0x4d21c6\nADD             SP, SP, #0x18                                          ; +0x3e, 0x4d21ca\nPOP.W           {R4-R8,PC}                                             ; +0x40, 0x4d21cc", "xrefs": ["ChallengesPage::claimItem @ 0x4cd0fc", "CurrencyRewardLayer::init @ 0x4d357e", "CurrencyRewardLayer::init @ 0x4d35aa", "CurrencyRewardLayer::init @ 0x4d35d6", "CurrencyRewardLayer::init @ 0x4d3602", "CurrencyRewardLayer::init @ 0x4d3658", "CurrencyRewardLayer::init @ 0x4d3676"], "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"}